1
0
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:
reimar 2007-07-30 15:23:25 +00:00
parent 80e0ec3e10
commit aac28cfe4c
6 changed files with 1 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

@ -7,7 +7,6 @@
#include "help_mp.h"
#include "ad_internal.h"
extern int audio_output_channels;
#include "mpbswap.h"

View File

@ -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);

View File

@ -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;

View File

@ -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;