ALLEGRO_AUDIO_DEPTH man page

ALLEGRO_AUDIO_DEPTH — Allegro 5 API

Synopsis

#include <allegro5/allegro_audio.h>

enum ALLEGRO_AUDIO_DEPTH

Description

Sample depth and type as well as signedness. Mixers only use 32-bit signed float (-1..+1), or 16-bit signed integers. Signedness is determined by an "unsigned" bit-flag applied to the depth value.

·
ALLEGRO_AUDIO_DEPTH_INT8
·
ALLEGRO_AUDIO_DEPTH_INT16
·
ALLEGRO_AUDIO_DEPTH_INT24
·
ALLEGRO_AUDIO_DEPTH_FLOAT32
·
ALLEGRO_AUDIO_DEPTH_UNSIGNED

For convenience:

·
ALLEGRO_AUDIO_DEPTH_UINT8
·
ALLEGRO_AUDIO_DEPTH_UINT16
·
ALLEGRO_AUDIO_DEPTH_UINT24

Referenced By

al_create_audio_stream(3), al_create_mixer(3), al_create_sample(3), al_get_audio_depth_size(3), al_get_audio_stream_depth(3), al_get_mixer_depth(3), al_get_sample_depth(3), al_get_sample_instance_depth(3), al_get_voice_depth(3).

Allegro reference manual