Mercurial > mplayer.hg
annotate libmpcodecs/dec_audio.h @ 21555:ababf115f90d
Avoid deprecated _sleep, instead include windows.h and use Sleep just like
osdep/timer-win2.c does.
Patch by Zuxy Meng [zuxy meng (at) gmail com]
author | reimar |
---|---|
date | Sun, 10 Dec 2006 14:04:27 +0000 |
parents | f580a7755ac5 |
children | cd55d31cecb2 |
rev | line source |
---|---|
2557 | 1 |
2 // dec_audio.c: | |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
15811
diff
changeset
|
3 extern void afm_help(void); |
7522 | 4 //extern int init_best_audio_codec(sh_audio_t *sh_audio,char* audio_codec,char* audio_fm); |
5 extern int init_audio_codec(sh_audio_t *sh_audio); | |
6 extern int init_audio(sh_audio_t *sh_audio,char* codecname,char* afm,int status); | |
7 extern int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list); | |
2557 | 8 extern int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen); |
9 extern void resync_audio_stream(sh_audio_t *sh_audio); | |
10 extern void skip_audio_frame(sh_audio_t *sh_audio); | |
6188 | 11 extern void uninit_audio(sh_audio_t *sh_audio); |
7604
32efb806436e
aufio filter layer (libaf) integration to libmpcodecs, mplayer and mencoder
arpi
parents:
7522
diff
changeset
|
12 |
32efb806436e
aufio filter layer (libaf) integration to libmpcodecs, mplayer and mencoder
arpi
parents:
7522
diff
changeset
|
13 extern int init_audio_filters(sh_audio_t *sh_audio, |
14818
663c1ea5f595
finally remove the refences to bps outside libaf. also simplification of some messages and removed redundants
alex
parents:
9217
diff
changeset
|
14 int in_samplerate, int in_channels, int in_format, |
15811
9b4bbb6098f6
make -srate work again, unify audio filter init and preinit.
reimar
parents:
14818
diff
changeset
|
15 int *out_samplerate, int *out_channels, int *out_format, |
7731 | 16 int out_minsize, int out_maxsize); |
9217
420e2b2f8e5a
compiler warning fixes patch by Dominik Mierzejewski <dominik@rangers.eu.org>
arpi
parents:
7731
diff
changeset
|
17 extern int preinit_audio_filters(sh_audio_t *sh_audio, |
14818
663c1ea5f595
finally remove the refences to bps outside libaf. also simplification of some messages and removed redundants
alex
parents:
9217
diff
changeset
|
18 int in_samplerate, int in_channels, int in_format, |
663c1ea5f595
finally remove the refences to bps outside libaf. also simplification of some messages and removed redundants
alex
parents:
9217
diff
changeset
|
19 int* out_samplerate, int* out_channels, int* out_format); |