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

32 bit opposite endian sample format.


This format is just a convenience macro used to represent the "alien" data format. This macro can be used as a programming aid in applications that need to be able to process samples with wrong endianess. AFMT_S32_OE can be stored in a 32 bit integer word (int type in C/C++). However the value must be converted to the native format (AFMT_S32_NE) by byte swapping the sample value. Please see the Handling endianess of samples section for more info.

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