annotate libmpcodecs/dec_audio.h @ 20771:1e78e35b6c7b

Change value used to indicate "unknown audio format" from 0 to -1. 0 collided with a valid format value.
author uau
date Wed, 08 Nov 2006 18:31:04 +0000
parents f580a7755ac5
children cd55d31cecb2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
1
6a74454ea121 some cleanup
arpi
parents:
diff changeset
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
aa1a1249f239 -ac/-afm rewrite, now works the same way as -vc/-vfm
arpi
parents: 7502
diff changeset
4 //extern int init_best_audio_codec(sh_audio_t *sh_audio,char* audio_codec,char* audio_fm);
aa1a1249f239 -ac/-afm rewrite, now works the same way as -vc/-vfm
arpi
parents: 7502
diff changeset
5 extern int init_audio_codec(sh_audio_t *sh_audio);
aa1a1249f239 -ac/-afm rewrite, now works the same way as -vc/-vfm
arpi
parents: 7502
diff changeset
6 extern int init_audio(sh_audio_t *sh_audio,char* codecname,char* afm,int status);
aa1a1249f239 -ac/-afm rewrite, now works the same way as -vc/-vfm
arpi
parents: 7502
diff changeset
7 extern int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list);
2557
6a74454ea121 some cleanup
arpi
parents:
diff changeset
8 extern int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen);
6a74454ea121 some cleanup
arpi
parents:
diff changeset
9 extern void resync_audio_stream(sh_audio_t *sh_audio);
6a74454ea121 some cleanup
arpi
parents:
diff changeset
10 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
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
1f8961f2b34c compiler warning fixes
arpi
parents: 7604
diff changeset
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);