This works well for sending a wav file to the analog output:
aplay -D plughw:0,0 test.wav
This works well for sending a wav file to the SPDIF output:
aplay -D plughw:0,1 test.wav
This plays nothing at all:
aplay test.wav
This works well for playing an mp3 file to the analog output:
mpg321 test.mp3
This plays the same file with a lot of distortion (noise):
mpg321 -o alsa09 --audiodevice hw:0,0 test.mp3 mpg321 -o alsa09 --audiodevice plughw:0,0 test.mp3
This plays the same distorted audio to the SPDIF:
mpg321 -o alsa09 --audiodevice hw:0,1 test.mp3
This exits with error:
mpg321 -o alsa09 --audiodevice plughw:0,1 test.mp3
ALSA snd_pcm_hw_params_set_period_size error: Invalid argument Can't open libao driver with device plughw:0,1 (is device in use?)
And finally, before I recompiled ALSA for IEC958 I was able to use Xine without problem. Now I cannot get any sound whatsoever from Xine, in either analog or SPDIF.
------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user