Mercurial > mplayer.hg
comparison libmpcodecs/ad_internal.h @ 5340:0f12fb7c1c5d
imported from MPlayerXP, dlopen() hack removed, some bugs fixed, interface functions changed to static, info->author field added
author | arpi |
---|---|
date | Mon, 25 Mar 2002 21:06:01 +0000 |
parents | |
children | 815f03b7cee5 |
comparison
equal
deleted
inserted
replaced
5339:e72d8e3955ea | 5340:0f12fb7c1c5d |
---|---|
1 | |
2 #include "codec-cfg.h" | |
3 #include "../libao2/afmt.h" | |
4 | |
5 #include "stream.h" | |
6 #include "demuxer.h" | |
7 #include "stheader.h" | |
8 | |
9 #include "ad.h" | |
10 | |
11 static int init(sh_audio_t *sh); | |
12 static int preinit(sh_audio_t *sh); | |
13 static void uninit(sh_audio_t *sh); | |
14 static int control(sh_audio_t *sh,int cmd,void* arg, ...); | |
15 static int decode_audio(sh_audio_t *sh,unsigned char *buffer,int minlen,int maxlen); | |
16 | |
17 #define LIBAD_EXTERN(x) ad_functions_t mpcodecs_ad_##x = {\ | |
18 &info,\ | |
19 preinit,\ | |
20 init,\ | |
21 uninit,\ | |
22 control,\ | |
23 decode_audio\ | |
24 }; | |
25 |