view libmpcodecs/dec_audio.h @ 27897:b380685ef564

On Darwin, don't use hostinfo on _all_ x86 variants to detect the running CPU, use cpuinfo instead. This allows MPlayer to get one step closer to building in 64 bits mode on Darwin, if one passes --target=x86_64-darwin to configure.
author gpoirier
date Sat, 15 Nov 2008 20:37:08 +0000
parents 41652035483c
children 9e739bdb049c
line wrap: on
line source

#ifndef MPLAYER_DEC_AUDIO_H
#define MPLAYER_DEC_AUDIO_H

#include "libmpdemux/stheader.h"

// dec_audio.c:
extern void afm_help(void);
extern int init_best_audio_codec(sh_audio_t *sh_audio,char** audio_codec_list,char** audio_fm_list);
extern int decode_audio(sh_audio_t *sh_audio, int minlen);
extern void resync_audio_stream(sh_audio_t *sh_audio);
extern void skip_audio_frame(sh_audio_t *sh_audio);
extern void uninit_audio(sh_audio_t *sh_audio);

extern int init_audio_filters(sh_audio_t *sh_audio, int in_samplerate,
		int *out_samplerate, int *out_channels, int *out_format);

#endif /* MPLAYER_DEC_AUDIO_H */