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

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

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

2018-07-27 Thread Fabian Russell
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