SYNOPSIS

  • #include <allegro5/allegro_audio.h>
    
    enum ALLEGRO_AUDIO_DEPTH
    
    

DESCRIPTION

Sample depth and type, and signedness. Mixers only use 32-bit signed float (-1..+1), or 16-bit signed integers. The unsigned value is a bit-flag applied to the depth value.

\[bu]

ALLEGRO_AUDIO_DEPTH_INT8

\[bu]

ALLEGRO_AUDIO_DEPTH_INT16

\[bu]

ALLEGRO_AUDIO_DEPTH_INT24

\[bu]

ALLEGRO_AUDIO_DEPTH_FLOAT32

\[bu]

ALLEGRO_AUDIO_DEPTH_UNSIGNED

For convenience:

\[bu]

ALLEGRO_AUDIO_DEPTH_UINT8

\[bu]

ALLEGRO_AUDIO_DEPTH_UINT16

\[bu]

ALLEGRO_AUDIO_DEPTH_UINT24