[pulseaudio-discuss] [PATCH] sndfile-util: fix format for 24bit depth wav files
tanu.kaskinen at linux.intel.com
Sat Oct 12 22:10:37 CEST 2013
[Added pulseaudio-discuss back to CC.]
On Sat, 2013-10-12 at 09:31 -0700, Kiran Krishnappa wrote:
> Ok. I got it. I didn't think much about wav file header. Just played 24 bit
> file and also recorded 24 bit file, there were no aborts and when I played
> 24bit file, it couldn't make out difference. I will understand wav format
> and sndfile API's and try to give proper patch.
Actually, it looks like I was wrong. I assumed that falling back to
sf_read_raw() and sf_write_raw() would mean that the wav header wouldn't
be handled correctly, but after reading the API documentation for those
functions, I believe that was an invalid assumption. So, your patch
should be fine. I'll apply it.
More information about the pulseaudio-discuss