Wiki Page Content

Revision 1 as of 2009-12-13 17:54:10

Clear message

SDL_AudioFormat

A typedef that contains audio format flags.

Values

These are what the 16 bits in SDL_AudioFormat currently mean:

++-----------------------sample is signed if set
||
||       ++-----------sample is bigendian if set
||       ||
||       ||          ++---sample is float if set
||       ||          ||
||       ||          || +---sample bit size---+
||       ||          || |                     |
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 

OR

Bit

Meaning

15

sample is signed if set

12

sample is bigendian if set

08

sample is float if set

07-00

sample bit size

Unspecified bits are always zero. There are macros in SDL 1.3 and later to query these bits.

value

description

value

description

value

description

Code Examples

You can add your code example here

Remarks


CategoryEnum

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit