1 May 2008 10:11
Re: Padding 24-bit samples
Ross Bencina <rossb-lists <at> audiomulch.com>
2008-05-01 08:11:54 GMT
2008-05-01 08:11:54 GMT
Hi Richard It's difficult to offer suggestions for other approaches without understanding why you want/need to use the padded 24 bit format in the first place. I can only guess that you're using an fixed-point integer decoder which outputs samples in this format. I imagine a loop that shifts all the samples left by 8 bits will not cost much.. but I understand your concern to make things as optimised as possible.. and agree this might be work which can be avoided. Keep in mind that you may not avoid conversion overhead if lower levels of the system then have to reconvert the samples to another format anyway. Are you sure that the format of all intermediate buffering and bus-transfers occur as padded 24-bit with the same endianess as the host? In principal I don't see a problem with accepting such a patch, however it would need to accomodate all of the conversion functions to other PA sample types, and all relevant clipping/dithering variants -- since we already have a bit of a release blocker with the few (obscure) unimplemented conversion functions for currently "supported" formats. Best wishes Ross. ----- Original Message ----- From: "Richard Titmuss" <richard_titmuss <at> logitech.com>(Continue reading)

RSS Feed