Can't Pipe Audio To Aplay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd like to pipe flac files to aplay using the command:

flac -d -c file.flac | aplay

However, aplay does not read the audio file parameters and assumes that
all stdin data is 8 kHz, 8-bit, mono.  The following message appears:

Playing raw data 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono

This message appears with *any* audio format.

Piping used to work properly with older versions of alsa but with the latest
versions the parameters of the piped audio data cannot be determined.

Is this a bug with alsa or is this some intended change?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux