especially how to specify the Mixer Card no and Mixer Device.
I have read the Linux journal article and both aplay, and alsaplayer are working.
My .asoundrc file is below. (BTW card 0 is the onboard via82xx which works fine).
Now it seems that xmms_alsa plugin wants a mixer card (= 0?) and mixer device ( =PCM).
I presume 'mixer device' is the equivalent of an Alsa simple mixer control.
But (Multiface) HDSP only seems to have a mono 'Chn' mixer control (with many indices 1 - to 18).
The via82xx does indeed have 'PCM' as a stereo mixer control and works in the Xmms/Alsa plugin,
i.e., this is a working setup
Audio Device:VIA 823x rev60
Mixer card: 0
Mixer device PCM
If I try
Audio Device: RME Hammerfall DSP + Multiface
Mixer card: 0
Mixer device Chn (<-how do I combine two indices to get stereo here?)
This is the error
alsa_setup(): Cannot set mmap'ed mode: Invalid argument. falling back to direct write
** WARNING **: alsa_setup(): Cannot set direct write mode: Invalid argument
Is the a way to configure two 'Chn' indexes n, n+1 and so that apps believe that a stereo simple mixer control exists?
.asoundrc (taken from Linux Journal HDSP HOWTO article) pcm.hdsp { type hw card 1 }
ctl.hdsp { type hw card 1 }
pcm.hdsp_analog { type plug ttable.0.0 1 ttable.1.1 1 ttable.2.2 1 ttable.3.3 1 ttable.4.4 1 ttable.5.5 1 ttable.6.6 1 ttable.7.7 1 slave.pcm hdsp }
pcm.hdsp_adat { type plug ttable.0.8 1 ttable.1.9 1 ttable.2.10 1 ttable.3.11 1 ttable.4.12 1 ttable.5.13 1 ttable.6.14 1 ttable.7.15 1 slave.pcm hdsp }
pcm.hdsp_spdif { type plug ttable.0.16 1 ttable.1.17 1 slave.pcm hdsp }
Output of HDSP amixer -c1 scontrols Simple mixer control 'Chn',1 Simple mixer control 'Chn',2 Simple mixer control 'Chn',3 Simple mixer control 'Chn',4 Simple mixer control 'Chn',5 Simple mixer control 'Chn',6 Simple mixer control 'Chn',7 Simple mixer control 'Chn',8 Simple mixer control 'Chn',9 Simple mixer control 'Chn',10 Simple mixer control 'Chn',11 Simple mixer control 'Chn',12 Simple mixer control 'Chn',13 Simple mixer control 'Chn',14 Simple mixer control 'Chn',15 Simple mixer control 'Chn',16 Simple mixer control 'Chn',17 Simple mixer control 'Chn',18
Output of via82xx amixer -c0 scontrols Simple mixer control 'Master',0 Simple mixer control 'Master Mono',0 Simple mixer control 'PCM',0 Simple mixer control 'Surround',0 Simple mixer control 'Center',0 Simple mixer control 'LFE',0 Simple mixer control 'Line',0 Simple mixer control 'CD',0 Simple mixer control 'Mic',0 Simple mixer control 'Mic Boost (+20dB)',0 Simple mixer control 'Mic Select',0 Simple mixer control 'Video',0 Simple mixer control 'Phone',0 Simple mixer control 'IEC958',0 Simple mixer control 'IEC958 Output',0 Simple mixer control 'IEC958 Playback AC97-SPSA',0 Simple mixer control 'PC Speaker',0 Simple mixer control 'Aux',0 Simple mixer control 'Mono Output Select',0 Simple mixer control 'Capture',0 Simple mixer control 'Mix',0 Simple mixer control 'Mix Mono',0 Simple mixer control 'External Amplifier Power Down',0 Simple mixer control 'Input Source Select',0 Simple mixer control 'Input Source Select',1 Simple mixer control 'VIA DXS',0 Simple mixer control 'VIA DXS',1 Simple mixer control 'VIA DXS',2 Simple mixer control 'VIA DXS',3
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user