[alsa-devel] Multiple Stream Playback on HDA-Intel

Azhar Aga azhar.aga at gmail.com
Sun Sep 9 15:47:15 CEST 2007

   I am trying ao develop an application that would play multiple streams,
using the same soundcard on my PC and since this is my first stint in
developing application on a pc rather than a native board I am facing
problems, for doing this I am using libao to control ALSA.  For me to
demostrate the multiple stream playback, I need ALSA to direct output of one
of the streams on the device hw:0,0 and the other on hw:0,1 [My card has
probably two devices as I checked aplay -l option that gave me a list of
devices] so that i could  connect a set of speakers in one of the PC jacks
and the another set in another Jack. Can this be done in using libao. If not
then how one direct the sound output to other devices on the same card.
Does the configuation file need to be changed? I made a .asoundrc config
file in the the root directory but  that did not help when I tried to access
a hw:0,0 with the command aplay -D hw:0,0 < some_test_file.wav> it gives me
the device busy error. ( with or without the .asoundrc aplay -d hw:0,0 gives
the above mentioned error)
The Card I am using is HDA_intel ICH family that comes with the DELL.

Thanks and With Regards
Azhar Aga

More information about the Alsa-devel mailing list