Results 1 to 5 of 5

Thread: Two sound cards mixing? PulseAudio not helping.

  1. #1
    Join Date
    Dec 2007
    Location
    Portland, Or.
    Beans
    33
    Distro
    Ubuntu 10.04 Lucid Lynx

    Two sound cards mixing? PulseAudio not helping.

    So I have two sound cards installed. I went as far as installing pulse (How to said nothing about second sound card) audio and configuring it as my default mixer for every thing. Now my thinking was that pulse would allow me to do what I am trying to do but I think I missed some thing some where.

    My gaol is to set up both sound cards to run mirroring each other. That is to say that the Mic and line ins on will mix together as well as the line outs. Some control over what program gets what would be cool but for my purposes just getting them input and output together would be awesome.

    If you have dual sound cars any info including just dumping you config files on me would be nice. The more I know about this the better, I intend to do a lot more along these lines in the coming year.

    Thank you for reading. Have a freaking sweat day.

  2. #2
    Join Date
    Apr 2008
    Beans
    4,377
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Two sound cards mixing? PulseAudio not helping.

    If you want to combine your sound cards you can use the pulseaudio combine module.

    Add these lines to your etc/pulse/default.pa:
    Code:
    #Make both card play simultaneously
    load-module module-oss-mmap device="/dev/dsp0" sink_name=output0
    load-module module-oss-mmap device="/dev/dsp1" sink_name=output1
    load-module module-combine sink_name=combined master=output0 slaves=output1
    set-sink-default combined
    It is explained here:

    http://pulseaudio.org/wiki/Modules

    Then you will see it in the PA Volume Control listed as Simultaneous Output.....like in the attachment below:

    Then you can select it in Playback by right clicking on the stream and using move stream. I use it for my two sound cards and it works very well. They stay in sync and I can select which streams I want to go to each card or to both.
    Attached Images Attached Images

  3. #3
    Join Date
    Dec 2007
    Location
    Portland, Or.
    Beans
    33
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Two sound cards mixing? PulseAudio not helping.

    Thanks man, worked like a charm. Well the input is still not working right but I think I will play with it a little more before I declear it broken.

  4. #4
    Join Date
    Apr 2008
    Beans
    4,377
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Two sound cards mixing? PulseAudio not helping.

    You can look in my guide for more info. There is some info there about making some small changes that help the pulse-audio sink work better. There is a Pulseaudio-jack section near the bottom.


    http://ubuntuforums.org/showthread.php?t=843012

  5. #5
    Join Date
    Dec 2007
    Location
    Portland, Or.
    Beans
    33
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Two sound cards mixing? PulseAudio not helping.

    Quote Originally Posted by markbuntu View Post
    You can look in my guide for more info. There is some info there about making some small changes that help the pulse-audio sink work better. There is a Pulseaudio-jack section near the bottom.


    http://ubuntuforums.org/showthread.php?t=843012
    Thanks I'll probably work on that a little later to night.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •