annotate libao2/audio_out_internal.h @ 14329:74e323b9e5db

More commands documented, based on Reimar's findings.
author diego
date Mon, 03 Jan 2005 15:01:58 +0000
parents 12b1790038b0
children f580a7755ac5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
1
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
2 // prototypes:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
3 //static ao_info_t info;
9633
12b1790038b0 64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>
alex
parents: 3095
diff changeset
4 static int control(int cmd, void *arg);
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
5 static int init(int rate,int channels,int format,int flags);
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
6 static void uninit();
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
7 static void reset();
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
8 static int get_space();
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
9 static int play(void* data,int len,int flags);
3095
981a9e5118ce interface to libao2 changed ao_plugin added
anders
parents: 1038
diff changeset
10 static float get_delay();
1038
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 954
diff changeset
11 static void audio_pause();
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 954
diff changeset
12 static void audio_resume();
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
13
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
14 #define LIBAO_EXTERN(x) ao_functions_t audio_out_##x =\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
15 {\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
16 &info,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
17 control,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
18 init,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
19 uninit,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
20 reset,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
21 get_space,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
22 play,\
1038
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 954
diff changeset
23 get_delay,\
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 954
diff changeset
24 audio_pause,\
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 954
diff changeset
25 audio_resume\
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
26 };
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
27