[alsa-devel] SPDIF: How to play mono sound
ajay.lforum at gmail.com
Tue Nov 8 14:59:54 CET 2011
It worked, just little improvement
it should be in quotes like this
aplay -D"plug:'iec958:CARD=ICH6,DEV=0'" mono_music.wav
On Tue, Nov 8, 2011 at 3:48 PM, Pavel Hofman <pavel.hofman at ivitera.com>wrote:
> Dne 8.11.2011 11:04, ajay khandelwal napsal(a):
> > Hi all,
> > I have a pc with SPDIF out. I want to play audio file with single
> > channel(mono) using aplay.
> > How to do that, when I try to play with following command, it gives error
> > aplay -Diec958:CARDICH6,DEV=0 mono_music.wav
> > it gives following error
> > aplay: set_param:1065: Channels count not available.
> How about
> aplay -Dplug:iec958:CARDICH6,DEV=0 mono_music.wav
> Spdif is a stereo device and does not accept a single channel stream.
> The plug plugin will do the conversion:
> Plug PCM: Route conversion PCM (sformat=S16_LE)
> Transformation table:
> 0 <- 0
> 1 <- 0
More information about the Alsa-devel