The problem: I'm trying to configure my gus pnp to a 4-channel
configuration, composed of its two 2-channel devices. Not any use, I know,
as its two separate stereo devices output to the same stereo output jack,
but a nice way to experiment and learn about asound.conf's intricacies. I
haven't been able to make it work yet, see error messages:

knan@frankenstein:~/musikk$ aplay -D mulplug test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_params.c:781: snd_pcm_hw_param_set_near: Assertion `err >= 0' failed.

knan@frankenstein:~/musikk$ aplay -D mul test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:727: Broken configuration for this PCM: no configurations available

The error messages suggest misconfiguration. But the way I understand
doc/asoundrc.txt, this should be correct? Can anyone spot the error?

Thanks in advance for any help.

/etc/asound.conf:

pcm.gus {
        type hw
        card 0
        device 0
}

pcm.gus_plug {
        type plug
        slave.pcm gus
}

pcm.gussynth {
        type hw
        card 0
        device 1
}

pcm.gussynth_plug {
        type plug
        slave.pcm gussynth
}

pcm.mul {
        type multi
        slaves {
          a {
                pcm gus
                channels 2
            }
          b {
                pcm gussynth
                channels 2
            }
        }
        bindings
        {
          0 {
                slave a
                channel 0
            }
          1 {
                slave a
                channel 1
            }
          2 {
                slave b
                channel 0
            }
          3 {
                slave b
                channel 1
            }
        }
}

pcm.mulplug {
        type plug
        slave.pcm mul
}

--
Erik I. Bolsų | email: <knan at mo.himolde.no>
The UNIX philosophy basically involves giving you enough rope to
hang yourself.  And then a couple of feet more, just to be sure.


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to