Results 1 to 10 of 17

Thread: Using Two Sound Cards

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Beans
    7

    Using Two Sound Cards

    I would like to be able to use two sound cards simultaneously. (actually want to use one soundcard and onboard audio) Is there a way in .asoundrc to force Ubuntu to do this?

  2. #2
    Join Date
    Apr 2005
    Location
    EU - UK
    Beans
    3,318
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Using Two Sound Cards

    What version of Ubuntu do you have?

  3. #3
    Join Date
    May 2007
    Beans
    36

    Re: Using Two Sound Cards

    in principal, Ubuntu can use multiple sound cards.

    I currently have the onboard audio + a USB sound adapter that I use for Skype.

    Sometimes the system gets a little confused where it's supposed to send sounds. About half the time the startup sound comes out of my Skype headset and the other half it comes out the main speakers.

    I didn't really have to mess with .asoundrc, just the PulseAudio manager.

    I'm running 9.04 btw...

    -scott

  4. #4
    Join Date
    Jul 2009
    Beans
    7

    Re: Using Two Sound Cards

    Quote Originally Posted by fh_scott View Post
    in principal, Ubuntu can use multiple sound cards.

    I currently have the onboard audio + a USB sound adapter that I use for Skype.

    Sometimes the system gets a little confused where it's supposed to send sounds. About half the time the startup sound comes out of my Skype headset and the other half it comes out the main speakers.

    I didn't really have to mess with .asoundrc, just the PulseAudio manager.

    I'm running 9.04 btw...

    -scott

    From my research using two cards does not seem to be a problem, but using them simultaneously seems to be a little trickier. I am trying to avoid having to have choose between one or the other and have both of them working at all times. i.e. system sound should come out of both devices.

    Everything I have read so far, leads me to beleive that I will need to remove PulseAudio.

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

    Re: Using Two Sound Cards

    No, you do not need to remove pulseaudio. In fact it is the easiest way to control multiple sound hardware. I have 4 hardware sound devices on my machine and they all work simultaneously with pulseaudio.

    You can set up alsa and jack to use multiple hardware devices but you will need to build the libasound2 library from source since ubuntu has stipped out the libraries necessary to play alsa and oss apps through jack though they left in the libs for jack to play through alsa so there is some confusion over this. You will also need to make some devices in asoundconf to use multiple hardware devices with jack or use netjack, which if you want to do you will need to build jack from source since ubuntu has left that out too.

    If you just want audio out, the 2496 is sort of overkill for that but will work OOB.

    The Pulseaudio version used in Jaunty (0.9.14) was not recomended for distribution by the pulse developers so it is somewhat broken and ALSA is also pretty kludged in Jaunty.

    You would be better off with pulseaudio 0.9.15 and alsa 1.0.20 and a 2.6.29 kernel and jack 1.9.2 and ardour2.8. or maybe just waiting for Karmic Koala in October.
    PMs will be ignored.

  6. #6
    Join Date
    May 2007
    Beans
    71
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Using Two Sound Cards

    I am currently using my gigabyte mobo's onboard sound (snd-intel-hda) for movies/music/media/games and a Hammerfall HDSP sound card for low-latency recording. I think you're right that you can accomplish what you need w/out pulseaudio.

    I strongly disagree that pulseaudio is the easiest way to handle multiple sound hardware. It works well enough w/ my onboard sound but is useless for the HDSP card (not to mention the latency hit it would add).

    Currently I use ALSA & jack for low-latency recording and monitoring with the HDSP, and pulseaudio for the onboard card. I did not have to build libasound2 from source to get ALSA to work, either (I'm running jaunty amd64).

    If you just want to be able to send one or two streams to one or two sound cards I think ALSA & jack will both work and make sense. Installing the ubuntustudio-audio and ubuntustudio-audio-plugins packages should give you everything you'll need.

  7. #7
    Join Date
    Jul 2009
    Beans
    7

    Re: Using Two Sound Cards

    At the moment, this system is sitting in parts on my workbench. I intend to install Jaunty Jackalope, and the system will be used as an HTPC with XBMC. (I have been using Hardy Heron on my desk top, where I have been testing media software)

    The motherboard is a GIGABYTE GA-E7AUM-DS2H LGA 775 , and this will handle digtial audio out for 5.1

    The Audio Card will most likely be M-AUDIO Audiophile 2496 to handle analog audio out (I havn't purchased this yet, because it will be a waste if this doesn't work, actually the whole system is a waste if this doesn't work)

    If I can't do this through ALSA and .asoundrc, it looks like I should be able to send sound out to an audio server such as JACK, and have jack then send the audio to the two cards. My receiver will decide wich stream to use. The only thing that concerns me with this, is audio sycing in movies.

    Thanks for any help.

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
  •