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

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

 



[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.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux