[pulseaudio-tickets] [PulseAudio] #151: Multichannel sound

PulseAudio trac-noreply at tango.0pointer.de
Fri Dec 14 08:52:44 PST 2007


#151: Multichannel sound
-----------------------+----------------------------------------------------
  Reporter:  nstamoul  |       Owner:  lennart     
      Type:  defect    |      Status:  new         
  Priority:  normal    |   Milestone:              
 Component:  daemon    |    Severity:  normal      
Resolution:            |    Keywords:  multichannel
-----------------------+----------------------------------------------------
Comment (by meden):

 I managed to configure Pulseaudio with multichannel audio on multiple
 soundcards. It is a manual configuration, of course, because the hal
 module has only a basic use.
 So, manually loading the module-alsa-sink you have to specify the device
 in the format given by 'aplay -L'. As example here is my configuration:

 {{{
 # Loads In/Out Alsa modules for the 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
 #
 # Loads In/Out Alsa modules for the 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
 #
 # Loads In/Out OSS modules
 load-module module-oss device="/dev/dsp" sink_name=Audigy_OSS
 source_name=Audigy_In_OSS
 load-module module-oss device="/dev/dsp1" sink_name=IntelHDA_OSS
 source_name=IntelHDA_In_OSS
 }}}

 Anyway, I still have some minor issue with that configuration, because
 Pulsaudio cannot attach mixer (errors for both sinks and sources):


 {{{
 ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL
 front:CARD=Audigy,DEV=0
 I: alsa-util.c: Unable to attach to mixer front:CARD=Audigy,DEV=0: No such
 file or directory
 I: alsa-util.c: Unable to attach to mixer hw:(null): No such device

 [...]

 ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL
 surround51:CARD=Audigy,DEV=0
 I: alsa-util.c: Unable to attach to mixer surround51:CARD=Audigy,DEV=0: No
 such file or directory
 I: alsa-util.c: Unable to attach to mixer hw:(null): No such device

 [...]

 ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL
 front:CARD=Intel,DEV=0
 I: alsa-util.c: Unable to attach to mixer front:CARD=Intel,DEV=0: No such
 file or directory
 I: alsa-util.c: Unable to attach to mixer hw:(null): No such device
 }}}

 Despite that, volme control works fine, as do switching streams and
 down/upmixing.

 Another oddity is that in sink devices I have Audigy_Out_OSS (! - why not
 Audigy_In_OSS?) but not IntelHDA_OSS; in source devices I have only
 IntelHDA_In_Oss but not Audigy_In_OSS.
 Maybe these problems are to be reported in a separate ticket...

 In attach the startup log (verbosity 3).

-- 
Ticket URL: <http://pulseaudio.org/ticket/151#comment:6>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list