[pulseaudio-discuss] Splitting a sound card

Jan Kasprzak kas at fi.muni.cz
Thu Aug 30 04:54:17 PDT 2007


Tanu Kaskinen wrote:
: Could it be that the soundcard (hw:0) is divided to two
: subdevices (probably hw:0,0 and hw:0,1)?

	I have tried to use "hw:0,0" or "hw:0,1" as a module-alsa-sink
argument, but it does not work:

W: alsa-util.c: Unable to attach to mixer hw:0,0: No such file or directory
W: alsa-util.c: Unable to attach to mixer hw:0,1: No such file or directory

: Pulseaudio defaults
: to hw:0,0, so if do you say device=hw:0, does the
: module-alsa-sink succeed to open all four channels?

	No. Even with the following line as the only module-alsa-sink command
it complains that the device does not support 4 channels:

load-module module-alsa-sink device=hw:0 channels=4

: Or maybe
: you are able to load two module-alsa-sinks, giving one of
: them device=hw:0,0 and the other device=hw:0,1?

	Unfortunately no, see above.

: What does "cat /proc/asound/pcm" say?

$ cat /proc/asound/pcm
00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1
00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1

-Yenya


-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/    Journal: http://www.fi.muni.cz/~kas/blog/ |
**         Those who fail to understand communication protocols,          **
**         are doomed to repeat them over port 80.    -- from /.          **



More information about the pulseaudio-discuss mailing list