1ALLEGRO_AUDIO_DEPTH(3) Library Functions Manual ALLEGRO_AUDIO_DEPTH(3)
2
3
4
6 ALLEGRO_AUDIO_DEPTH
7
9 #include <allegro5/allegro_audio.h>
10
11 enum ALLEGRO_AUDIO_DEPTH
12
14 Sample depth and type, and signedness. Mixers only use 32-bit signed
15 float (–1..+1), or 16-bit signed integers. The unsigned value is a
16 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)