std :: audio::s24
Struct std::S24
struct S24 {
unsigned char b[3];
}Fields
two's complement, least significant byte first
Methods
The sample with value 'v', clamped to [S24_MIN, S24_MAX].
A float in [-1, 1] scaled by 2^23 - 1, rounded to nearest and clamped (out-of-range values saturate).
sign-extended, S24_MIN .. S24_MAX
value() / 2^23: S24_MIN is exactly -1.0
clamped, as of()