Mercurial > mplayer.hg
annotate libao2/audio_out_internal.h @ 17197:0ab565f7ed60
Avoid gcc warnings:
'...' might be used uninitialized in this function
In this case 'H', 'N', 'D', and 'F' can indeed be
used unitialized, thus possibly causing all sorts of problems.
Patch by Peter Breitenlohner
author | rathann |
---|---|
date | Thu, 15 Dec 2005 20:39:59 +0000 |
parents | 12b1790038b0 |
children | f580a7755ac5 |
rev | line source |
---|---|
954 | 1 |
2 // prototypes: | |
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 | 5 static int init(int rate,int channels,int format,int flags); |
6 static void uninit(); | |
7 static void reset(); | |
8 static int get_space(); | |
9 static int play(void* data,int len,int flags); | |
3095 | 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 | 13 |
14 #define LIBAO_EXTERN(x) ao_functions_t audio_out_##x =\ | |
15 {\ | |
16 &info,\ | |
17 control,\ | |
18 init,\ | |
19 uninit,\ | |
20 reset,\ | |
21 get_space,\ | |
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 | 26 }; |
27 |