Takashi Iwai wrote:
At Mon, 04 Feb 2008 16:32:29 +0100, Jan Willies wrote:
[root@server ~]# alsaplayer --verbose -o alsa -d hw:1,0 Strong.mp3 AlsaPlayer 0.99.80 (C) 1999-2004 Andy Lo A Foe andy@alsaplayer.org and others. Output plugin: ALSA output v1.9.0beta12 error on set_format SND_PCM_FORMAT_S16 Unavailable hw params: ACCESS: RW_INTERLEAVED FORMAT: S16_BE
The device is supposed to be big-endian only. Try plughw:1,0 instead to convert endianness.
Yes, that seems to work! Only for analog output though. When I try with digital I get the same error again.
[jan@server ~]$ cat /proc/asound/devices 0: [ 0] : control 1: : sequencer 16: [ 0- 0]: digital audio playback 24: [ 0- 0]: digital audio capture 25: [ 0- 1]: digital audio capture 32: [ 1] : control 33: : timer 48: [ 1- 0]: digital audio playback 49: [ 1- 1]: digital audio playback
[root@server ~]# alsaplayer --verbose -o alsa -d plughw:1,1 Strong.mp3 AlsaPlayer 0.99.80 (C) 1999-2004 Andy Lo A Foe andy@alsaplayer.org and others. Output plugin: ALSA output v1.9.0beta12 error on set_format SND_PCM_FORMAT_S16 Unavailable hw params: ACCESS: RW_INTERLEAVED FORMAT: IEC958_SUBFRAME_BE [...]