[Stk] anyone using RTAUDIO_SINT24 format?

Stephen Sinclair sinclair at music.mcgill.ca
Tue Jul 24 10:28:47 PDT 2012


On Tue, Jul 24, 2012 at 11:11 AM, Gary Scavone <gary at ccrma.stanford.edu> wrote:
> Hi all,
>
> I'm considering changing the RTAUDIO_SINT24 format to support 3-byte data, rather than the lower 3 bytes of a 32-bit type.  Is anyone using that format as it currently exists?

I don't use it, but I'm really, really curious what the use case is...!  :)

I can see the logic here, there seems to be no advantage to treating a
24-bit number range if you're going to represent it with 32 bits
anyways.  On the other hand, compressing it to a 3-byte stream doesn't
strike me as more efficient, with memory buses working on 32-bit (or
64-bit) boundaries anyways.

However, maybe some embedded systems have special needs for this kind
of thing, it wouldn't surprise me if some DSP architectures work with
24-bit numbers more efficiently.

Steve



More information about the Stk mailing list