Re: [Alsa-user] Help with SPDIF
Brought to you by:
perex
From: Clemens L. <cl...@la...> - 2004-03-24 17:15:04
|
Robert La Ferla wrote: > # aplay /usr/local/mozilla/res/samples/test.wav > Playing WAVE '/usr/local/mozilla/res/samples/test.wav' : Unsigned 8 bit, > Rate 22050 Hz, Mono > aplay: set_params:827: Sample format non available You have redefined the "default" device in your ~/.asoundrc to be a hardware device, and that doesn't support this sample format. > # aplay -Dplug:spdif /usr/local/mozilla/res/samples/test.wav > ALSA lib pcm_hw.c:1056:(snd_pcm_hw_open) open /dev/snd/pcmC0D1p failed: > No such device > aplay: main:502: audio open error: No such device > > 00-00: Intel ICH : NVidia nForce2 : playback 1 : capture 1 > 00-01: Intel ICH - MIC ADC : NVidia nForce2 - MIC ADC : capture 1 > 00-02: Intel ICH - IEC958 : NVidia nForce2 - IEC958 : playback 1 It seems that the IEC958 pcm would be device 2, but ALSA tries to play to device 1. Try to change the line "device 1" to "device 2" in the definition of NFORCE.pcm.iec958.0 in file /usr/share/alsa/cards/NFORCE.conf. HTH Clemens |