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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
6a74454ea121 some cleanup
arpi
parents:
diff changeset
3
6a74454ea121 some cleanup
arpi
parents:
diff changeset
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
aa1a1249f239 -ac/-afm rewrite, now works the same way as -vc/-vfm
arpi
parents: 7502
diff changeset
6 extern int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list);
24892
80180dc13565 Change decode_audio() interface
uau
parents: 24885
diff changeset
7 extern int decode_audio(sh_audio_t *sh_audio, int minlen);
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
8 extern void resync_audio_stream(sh_audio_t *sh_audio);
6a74454ea121 some cleanup
arpi
parents:
diff changeset
9 extern void skip_audio_frame(sh_audio_t *sh_audio);
6188
39a9515c633a warning fixes, patch by Ulrich Hecht <uli@suse.de>
arpi
parents: 5609
diff changeset
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
2bfc75674b71 Simplify init_audio_filters() arguments
uau
parents: 24892
diff changeset
12 extern int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate,
2bfc75674b71 Simplify init_audio_filters() arguments
uau
parents: 24892
diff changeset
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 */