comparison libao2/afmt.h @ 1058:cab5ba9ffc6c

fixed AFMT_ stuff (inclue afmt.h)
author arpi_esp
date Fri, 08 Jun 2001 23:31:06 +0000
parents
children 02576893af2a
comparison
equal deleted inserted replaced
1057:555f58131861 1058:cab5ba9ffc6c
1
2 /* Defines that AFMT_ stuff */
3
4 #ifdef HAVE_SYS_SOUNDCARD_H
5 #include <sys/soundcard.h> /* For AFMT_* on linux */
6 #endif
7
8 /* standard, old OSS audio formats */
9 #ifndef AFMT_MU_LAW
10 # define AFMT_MU_LAW 0x00000001
11 # define AFMT_A_LAW 0x00000002
12 # define AFMT_IMA_ADPCM 0x00000004
13 # define AFMT_U8 0x00000008
14 # define AFMT_S16_LE 0x00000010 /* Little endian signed 16*/
15 # define AFMT_S16_BE 0x00000020 /* Big endian signed 16 */
16 # define AFMT_S8 0x00000040
17 # define AFMT_U16_LE 0x00000080 /* Little endian U16 */
18 # define AFMT_U16_BE 0x00000100 /* Big endian U16 */
19 #endif
20
21 #ifndef AFMT_MPEG
22 # define AFMT_MPEG 0x00000200 /* MPEG (2) audio */
23 #endif
24
25 #ifndef AFMT_AC3
26 # define AFMT_AC3 0x00000400 /* Dolby Digital AC3 */
27 #endif
28
29 /* 32 bit formats (MSB aligned) formats */
30 #ifndef AFMT_S32_LE
31 # define AFMT_S32_LE 0x00001000
32 # define AFMT_S32_BE 0x00002000
33 #endif
34