Open Sound System |
Do you have problems with sound/audio application development? Don't panic! Click here for help! |
This format is similar to the AFMT_S24_LE format but with different endianess. In some systems this format is supported by the hardware (not in the x86 PC architecture). In general there is rarely any need to support this format.
The AFMT_S24_BE formatted data stream should be handled as an array of bytes. Each 24 bit big endian sample requires four byte positions. The first byte is unused and always zero (except if the sample value is negative). The second byte stores the upper 8 bits and the third and fourth bytes store the least significant bits.