1ALLEGRO_AUDIO_DEPTH(3) ALLEGRO_AUDIO_DEPTH(3)
2
3
4
6 ALLEGRO_AUDIO_DEPTH - Allegro 5 API
7
9 #include <allegro5/allegro_audio.h>
10
11 enum ALLEGRO_AUDIO_DEPTH
12
14 Sample depth and type as well as signedness. Mixers only use 32-bit
15 signed float (-1..+1), or 16-bit signed integers. Signedness is deter‐
16 mined by an "unsigned" bit-flag applied to the depth value.
17
18 · ALLEGRO_AUDIO_DEPTH_INT8
19
20 · ALLEGRO_AUDIO_DEPTH_INT16
21
22 · ALLEGRO_AUDIO_DEPTH_INT24
23
24 · ALLEGRO_AUDIO_DEPTH_FLOAT32
25
26 · ALLEGRO_AUDIO_DEPTH_UNSIGNED
27
28 For convenience:
29
30 · ALLEGRO_AUDIO_DEPTH_UINT8
31
32 · ALLEGRO_AUDIO_DEPTH_UINT16
33
34 · ALLEGRO_AUDIO_DEPTH_UINT24
35
36
37
38Allegro reference manual ALLEGRO_AUDIO_DEPTH(3)