[alsa-devel] iec958 and 24-bit audio

Jaroslav Kysela perex at perex.cz
Mon Nov 1 20:18:43 CET 2010


On Mon, 1 Nov 2010, pl bossart wrote:

> When I try playing 24-bit audio files on my SPDIF output, I get this
>
> [alsa-lib]$ aplay -Diec958 file24bits.wav
> aplay: set_params:1059: Sample format non available
> Available formats:
> - S16_LE
> - S32_LE
>
> Is there an built-in assumption that the iec958 device can only take
> as input what the slave hardware device supports?

Use 'plug:iec958' device if you want to do the format conversion (from 
24-bit to 32-bit format).

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list