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_S32_BE sample format

32 bit signed big endian sample format


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.

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