Re: [Alsa-user] Can't Pipe Audio To Aplay

2018-07-28 Thread Fabian Russell
On Fri, Jul 27, 2018 at 3:30 PM, Jay Foster wrote: > What version of aplay? If it is version 1.1.6, you might be running into > this issue: > From: Takashi Iwai > Subject: [PATCH] aplay: Fix invalid file size check for non-regular files > > Yes, I am using 1.1.6 and your patch fixes the proble

Re: [Alsa-user] Can't Pipe Audio To Aplay

2018-07-27 Thread Jay Foster
What version of aplay?  If it is version 1.1.6, you might be running into this issue: From: Takashi Iwai Subject: [PATCH] aplay: Fix invalid file size check for non-regular files aplay tries to check the file size via fstat() at parsing the format headers and avoids parsing when the size is sho

Re: [Alsa-user] Can't Pipe Audio To Aplay

2018-07-27 Thread Fabian Russell
On Fri, Jul 27, 2018 at 2:54 PM, chris hermansen wrote: > > Have you tried specifying the parameters of the stream? > > -- Sure. That would work. But first the extra step of determining the audio file parameters must be taken. The point is that aplay should be able to determine the paramete

Re: [Alsa-user] Can't Pipe Audio To Aplay

2018-07-27 Thread chris hermansen
Fabian and list, On Fri, Jul 27, 2018 at 10:37 AM Fabian Russell wrote: > 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 me