annotate libmpcodecs/dec_audio.h @ 35395:e740eaf25f32

stream ftp: open_f: Mark parameter file_format unused We have nothing to say about it, so we do not set *file_format. No need for compilers to emit a warning about it.
author al
date Mon, 26 Nov 2012 23:37:06 +0000
parents 4a4dcc72da52
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30421
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
1 /*
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
2 * This file is part of MPlayer.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
3 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
5 * it under the terms of the GNU General Public License as published by
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
7 * (at your option) any later version.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
8 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
12 * GNU General Public License for more details.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
13 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
14 * You should have received a copy of the GNU General Public License along
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
17 */
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 28051
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
19 #ifndef MPLAYER_DEC_AUDIO_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
20 #define MPLAYER_DEC_AUDIO_H
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
21
31425
2392ad3cec9c Move af_cfg extern variable declaration to dec_audio.h.
diego
parents: 31402
diff changeset
22 #include "libaf/af.h"
26147
41652035483c Add necessary header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
23 #include "libmpdemux/stheader.h"
41652035483c Add necessary header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
24
31425
2392ad3cec9c Move af_cfg extern variable declaration to dec_audio.h.
diego
parents: 31402
diff changeset
25 extern af_cfg_t af_cfg;
2392ad3cec9c Move af_cfg extern variable declaration to dec_audio.h.
diego
parents: 31402
diff changeset
26
31402
c9e6eb55607e Move audio_output_channels/fakemono extern variable declarations to dec_audio.h.
diego
parents: 30421
diff changeset
27 extern int audio_output_channels;
c9e6eb55607e Move audio_output_channels/fakemono extern variable declarations to dec_audio.h.
diego
parents: 30421
diff changeset
28 extern int fakemono;
c9e6eb55607e Move audio_output_channels/fakemono extern variable declarations to dec_audio.h.
diego
parents: 30421
diff changeset
29
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
30 // dec_audio.c:
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
31 void afm_help(void);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
32 int init_best_audio_codec(sh_audio_t *sh_audio, char** audio_codec_list, char** audio_fm_list);
31977
4a4dcc72da52 Rename decode_audio() to mp_decode_audio().
diego
parents: 31425
diff changeset
33 int mp_decode_audio(sh_audio_t *sh_audio, int minlen);
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
34 void resync_audio_stream(sh_audio_t *sh_audio);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
35 void skip_audio_frame(sh_audio_t *sh_audio);
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
36 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
37
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
38 int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate,
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26147
diff changeset
39 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
40
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
41 #endif /* MPLAYER_DEC_AUDIO_H */