annotate libao2/audio_out_internal.h @ 27020:543772b34ac2

sync w/r21537 and misc fixes patch by C¸«±dric Viou
author gpoirier
date Wed, 11 Jun 2008 20:33:42 +0000
parents 4129c8cfa742
children e45b08f2f5d3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
1 #ifndef MPLAYER_AUDIO_OUT_INTERNAL_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
2 #define MPLAYER_AUDIO_OUT_INTERNAL_H
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
3
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
4 // prototypes:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
5 //static ao_info_t info;
9633
12b1790038b0 64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>
alex
parents: 3095
diff changeset
6 static int control(int cmd, void *arg);
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
7 static int init(int rate,int channels,int format,int flags);
17566
f580a7755ac5 Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents: 9633
diff changeset
8 static void uninit(int immed);
f580a7755ac5 Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents: 9633
diff changeset
9 static void reset(void);
f580a7755ac5 Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents: 9633
diff changeset
10 static int get_space(void);
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
11 static int play(void* data,int len,int flags);
17566
f580a7755ac5 Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents: 9633
diff changeset
12 static float get_delay(void);
f580a7755ac5 Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents: 9633
diff changeset
13 static void audio_pause(void);
f580a7755ac5 Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents: 9633
diff changeset
14 static void audio_resume(void);
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
15
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
16 #define LIBAO_EXTERN(x) ao_functions_t audio_out_##x =\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
17 {\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
18 &info,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
19 control,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
20 init,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
21 uninit,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
22 reset,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
23 get_space,\
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
24 play,\
1038
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 954
diff changeset
25 get_delay,\
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 954
diff changeset
26 audio_pause,\
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 954
diff changeset
27 audio_resume\
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
28 };
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
29
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
30 #endif /* MPLAYER_AUDIO_OUT_INTERNAL_H */