annotate libao2/afmt.h @ 4040:b1fb6236d93b

*** empty log message ***
author jaf
date Mon, 07 Jan 2002 20:14:27 +0000
parents cab5ba9ffc6c
children 02576893af2a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1058
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
1
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
2 /* Defines that AFMT_ stuff */
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
3
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
4 #ifdef HAVE_SYS_SOUNDCARD_H
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
5 #include <sys/soundcard.h> /* For AFMT_* on linux */
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
6 #endif
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
7
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
8 /* standard, old OSS audio formats */
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
9 #ifndef AFMT_MU_LAW
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
10 # define AFMT_MU_LAW 0x00000001
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
11 # define AFMT_A_LAW 0x00000002
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
12 # define AFMT_IMA_ADPCM 0x00000004
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
13 # define AFMT_U8 0x00000008
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
14 # define AFMT_S16_LE 0x00000010 /* Little endian signed 16*/
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
15 # define AFMT_S16_BE 0x00000020 /* Big endian signed 16 */
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
16 # define AFMT_S8 0x00000040
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
17 # define AFMT_U16_LE 0x00000080 /* Little endian U16 */
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
18 # define AFMT_U16_BE 0x00000100 /* Big endian U16 */
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
19 #endif
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
20
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
21 #ifndef AFMT_MPEG
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
22 # define AFMT_MPEG 0x00000200 /* MPEG (2) audio */
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
23 #endif
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
24
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
25 #ifndef AFMT_AC3
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
26 # define AFMT_AC3 0x00000400 /* Dolby Digital AC3 */
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
27 #endif
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
28
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
29 /* 32 bit formats (MSB aligned) formats */
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
30 #ifndef AFMT_S32_LE
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
31 # define AFMT_S32_LE 0x00001000
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
32 # define AFMT_S32_BE 0x00002000
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
33 #endif
cab5ba9ffc6c fixed AFMT_ stuff (inclue afmt.h)
arpi_esp
parents:
diff changeset
34