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

8 bit unsigned sample format

Description

This waa the format used when the computer sound business was young. Most devices still support this format today. However there is no need to use it any more.

The problem of this format is that it's unsigned. It must be converted to signed value before it can be done. This can be done substracting 128 from the unsihned sample. Another way to do this is XORing the value with 128 (0x80).



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