Open Sound System
OSS 4.x Programmer's Guide

Do you have problems with sound/audio application development? Don't panic! Click here for help!

AFMT_S24_BE sample format

24/32 bit signed big endian sample format (LSB alignewd)


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.

Copyright (C) 4Front Technologies, 2007. All rights reserved.
Back to index OSS web site