Mercurial > mplayer.hg
annotate libmpcodecs/dec_audio.h @ 33105:1cd1adf9ee6c
Cosmetic: Adjust indent after simplifying cmd_base().
author | ib |
---|---|
date | Sun, 03 Apr 2011 10:38:35 +0000 |
parents | 4a4dcc72da52 |
children |
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 | 19 #ifndef MPLAYER_DEC_AUDIO_H |
20 #define MPLAYER_DEC_AUDIO_H | |
2557 | 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 | 30 // dec_audio.c: |
28051 | 31 void afm_help(void); |
32 int init_best_audio_codec(sh_audio_t *sh_audio, char** audio_codec_list, char** audio_fm_list); | |
31977 | 33 int mp_decode_audio(sh_audio_t *sh_audio, int minlen); |
28051 | 34 void resync_audio_stream(sh_audio_t *sh_audio); |
35 void skip_audio_frame(sh_audio_t *sh_audio); | |
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 | 38 int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate, |
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 | 41 #endif /* MPLAYER_DEC_AUDIO_H */ |