[pulseaudio-discuss] [PATCH] sndfile-util: fix format for 24bit depth wav files

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Sat Oct 12 10:40:11 CEST 2013

On Thu, 2013-10-10 at 20:01 -0700, Kiran Krishnappa wrote:
> Hi,
> I tested both paplay and parecord for 24bit files. Looks to be working fine
> now.

How can it be working fine, if the read/write functions don't exist for
24-bit files?

I looked at the code, and it seems that if the read/write functions
haven't been set, pacat treats the files as raw PCM data. This is not
good, because the user requested wav files, not raw files. If wav files
are treated as raw files, then the wav header will be played to the
speakers, and when recording, the wav header will be missing from the
output file. If getting the read/write function fails, pacat should
print an error message and exit.


More information about the pulseaudio-discuss mailing list