Google
 

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

16 bit opposite endian sample format.

Description

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_S16_OE can be stored in a 32 bit integer word (short type in C/C++). However the value must be converted to the native format (AFMT_S16_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