Mercurial > mplayer.hg
comparison libao2/audio_plugin_internal.h @ 3107:ef2287ccc42b
Changes to audio out plugin, first plugin added
author | anders |
---|---|
date | Sun, 25 Nov 2001 14:29:54 +0000 |
parents | 15abd9121737 |
children | bb1d608c73ae |
comparison
equal
deleted
inserted
replaced
3106:fd7651748dec | 3107:ef2287ccc42b |
---|---|
1 // prototypes: | 1 // prototypes: |
2 static int control(int cmd,int arg); | 2 static int control(int cmd,int arg); |
3 static int init(float*); | 3 static int init(); |
4 static void uninit(); | 4 static void uninit(); |
5 static void reset(); | 5 static void reset(); |
6 static int play(void* data,int len,int flags); | 6 static int play(); |
7 | 7 |
8 #define LIBAO_PLUGIN_EXTERN(x) ao_functions_t audio_out_##x =\ | 8 #define LIBAO_PLUGIN_EXTERN(x) ao_functions_t audio_plugin_##x =\ |
9 {\ | 9 {\ |
10 &info,\ | 10 &info,\ |
11 control,\ | 11 control,\ |
12 init,\ | 12 init,\ |
13 uninit,\ | 13 uninit,\ |