Please find attached a patch (applies to xine-lib 1.1.19) that improves xine's
handling of 24-bit lpcm audio.
First of all, it improves the qt demuxer, ensuring that 24-bit audio is marked
appropriately, and detecting little vs. big endian audio. It also adjusts the
buffer size when audio is 24-bit, ensuring that samples aren't chopped in half
(8192 does not divide evenly into 3 byte samples).
Secondly, in the lpcm decoder, the patch distinguishes between standard 24-bit
lpcm (big and little endian) and special DVD-format 24-bit lpcm (see
http://wiki.multimedia.cx/index.php?title=PCM) and now handles both, instead
of only handling the DVD format.
The result is that xine now correctly plays all the 24-bit lpcm samples I
throw at it, whereas before only a few worked.
Get latest updates about Open Source Projects, Conferences and News.