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_S32_LE format but with different endianess. In some systems this format is supported by the hardware (not in the x86 PC architecture). This format is rarely used and there is no need to support it.
The AFMT_S32_BE formatted data stream should be handled as an array of bytes. Each 32 bit big endian sample requires two byte positions. The first byte is 0 (except when the sample is negative). The second one stores the upper 8 bits and the third and fourth ones are used for the remaining bits.