When does a application use the SPDIF output? Two possibilities:
- via the normal pcm device (hw:0,0): set up the correct parameters, 44100 or 48000 Hz, S16 LE 2 channels, then spdif will be turned on. otherwise it's shut up. Usually OSS's /dev/dsp corresponds to this device. - via the third pcm device (hw:0,2) this device accepts only the parameters like above and spdif is always turned on. when you access via alsa plugin layer (i.e. plughw:0,2), then the sample rate, format, and channels will be automatically converted inside alsa-lib. Also, additinoally you'll need to turn on "IEC958 Output Switch". When I select /dev/dsp (default) i have ALWAYS SPDIF output, but never normal analog. Only when I play files which have not the correct parameters I get analog output. Ciao Chris. _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user