Mercurial > mplayer.hg
annotate libmpcodecs/dec_audio.h @ 25623:b955a135e3a8
Do not use exit_player in the signal handler, this code just can not
be called from a signal handler.
Instead only make the input system generate quit commands for the first
CTRL+C and otherwise do getch2_disable and exit.
author | reimar |
---|---|
date | Tue, 08 Jan 2008 21:40:44 +0000 |
parents | 6ac1ece1f9fe |
children | 4129c8cfa742 |
rev | line source |
---|---|
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
24894
diff
changeset
|
1 #ifndef DEC_AUDIO_H |
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
24894
diff
changeset
|
2 #define DEC_AUDIO_H |
2557 | 3 |
4 // dec_audio.c: | |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
15811
diff
changeset
|
5 extern void afm_help(void); |
7522 | 6 extern int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list); |
24892 | 7 extern int decode_audio(sh_audio_t *sh_audio, int minlen); |
2557 | 8 extern void resync_audio_stream(sh_audio_t *sh_audio); |
9 extern void skip_audio_frame(sh_audio_t *sh_audio); | |
6188 | 10 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
|
11 |
24894 | 12 extern int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate, |
13 int *out_samplerate, int *out_channels, int *out_format); | |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
24894
diff
changeset
|
14 |
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
24894
diff
changeset
|
15 #endif /* DEC_AUDIO_H */ |