mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 00:06:56 +00:00
Move extern int audio_output_channels; to ad_internal.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23938 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
80e0ec3e10
commit
aac28cfe4c
@ -26,8 +26,6 @@ static int init(sh_audio_t *sh)
|
||||
return 1;
|
||||
}
|
||||
|
||||
extern int audio_output_channels;
|
||||
|
||||
static int preinit(sh_audio_t *sh_audio)
|
||||
{
|
||||
DMO_AudioDecoder* ds_adec;
|
||||
|
@ -64,7 +64,6 @@ static int aac_probe(unsigned char *buffer, int len)
|
||||
return pos;
|
||||
}
|
||||
|
||||
extern int audio_output_channels;
|
||||
static int init(sh_audio_t *sh)
|
||||
{
|
||||
unsigned long faac_samplerate;
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "help_mp.h"
|
||||
|
||||
#include "ad_internal.h"
|
||||
extern int audio_output_channels;
|
||||
|
||||
#include "mpbswap.h"
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include "ad.h"
|
||||
|
||||
extern int audio_output_channels;
|
||||
static int init(sh_audio_t *sh);
|
||||
static int preinit(sh_audio_t *sh);
|
||||
static void uninit(sh_audio_t *sh);
|
||||
|
@ -51,8 +51,6 @@ static ad_info_t info =
|
||||
|
||||
LIBAD_EXTERN(liba52)
|
||||
|
||||
extern int audio_output_channels;
|
||||
|
||||
int a52_fillbuff(sh_audio_t *sh_audio){
|
||||
int length=0;
|
||||
int flags=0;
|
||||
|
@ -58,9 +58,6 @@ static const char ch2flags[6] = {
|
||||
DTS_3F2R | DTS_LFE
|
||||
};
|
||||
|
||||
extern int audio_output_channels;
|
||||
|
||||
|
||||
static inline int16_t convert(sample_t s)
|
||||
{
|
||||
int i = s * 0x7fff;
|
||||
|
Loading…
Reference in New Issue
Block a user