Comment 28 for bug 198453

Revision history for this message
Alessio Gaeta (meden) wrote : Re: PulseAudio prevents programs relying on ALSA to work correctly

Daniel Chen made an interesting comment on HAL here: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/109439/comments/4 . I agree with him but this bug remember us all that ALSA EXISTS, along with dmix... To get rid on "dancing indexes" one could base settings on symbolic card names... As I wrote in PulseAudio TRAC (http://www.pulseaudio.org/ticket/25#comment:6)

I managed to deal correctly with ALSA and dmix disabling module-hal-detect and setting up thing manually as follow (in default.pa):

{{{
# Carica i moduli In/Out Alsa per la Audigy
load-module module-alsa-sink device=front:CARD=Audigy,DEV=0 sink_name=Audigy_Out_2.0
load-module module-alsa-sink device=surround51:CARD=Audigy,DEV=0 sink_name=Audigy_Out_5.1
load-module module-alsa-source device=hw:0,0 source_name=Audigy_In
#
# Carica i moduli In/Out Alsa per la IntelHDA
load-module module-alsa-sink device=front:CARD=Intel,DEV=0 sink_name=IntelHDA_Out
load-module module-alsa-source device=hw:1,0 source_name=IntelHDA_In
}}}

Now, using ALSA device names, I can choose where redirect streams and the number of channel happily, without locking the hardware. And Skype works too.
Hope that can help.