mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 03:08:33 +00:00
ao_subdevice implemented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1186 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b4045ad499
commit
d18ea939ef
@ -12,6 +12,7 @@ int ao_format=0;
|
|||||||
int ao_bps=0;
|
int ao_bps=0;
|
||||||
int ao_outburst=OUTBURST; // config.h default
|
int ao_outburst=OUTBURST; // config.h default
|
||||||
int ao_buffersize=-1;
|
int ao_buffersize=-1;
|
||||||
|
char *ao_subdevice = NULL;
|
||||||
|
|
||||||
#ifdef USE_OSS_AUDIO
|
#ifdef USE_OSS_AUDIO
|
||||||
extern ao_functions_t audio_out_oss;
|
extern ao_functions_t audio_out_oss;
|
||||||
@ -34,6 +35,7 @@ extern ao_functions_t audio_out_sdl;
|
|||||||
extern ao_functions_t audio_out_sun;
|
extern ao_functions_t audio_out_sun;
|
||||||
#endif
|
#endif
|
||||||
extern ao_functions_t audio_out_pcm;
|
extern ao_functions_t audio_out_pcm;
|
||||||
|
extern ao_functions_t audio_out_pss;
|
||||||
|
|
||||||
ao_functions_t* audio_out_drivers[] =
|
ao_functions_t* audio_out_drivers[] =
|
||||||
{
|
{
|
||||||
@ -57,6 +59,7 @@ ao_functions_t* audio_out_drivers[] =
|
|||||||
&audio_out_sun,
|
&audio_out_sun,
|
||||||
#endif
|
#endif
|
||||||
&audio_out_pcm,
|
&audio_out_pcm,
|
||||||
|
// &audio_out_pss,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ extern int ao_format;
|
|||||||
extern int ao_bps;
|
extern int ao_bps;
|
||||||
extern int ao_outburst;
|
extern int ao_outburst;
|
||||||
extern int ao_buffersize;
|
extern int ao_buffersize;
|
||||||
|
extern char *ao_subdevice;
|
||||||
|
|
||||||
#define CONTROL_OK 1
|
#define CONTROL_OK 1
|
||||||
#define CONTROL_TRUE 1
|
#define CONTROL_TRUE 1
|
||||||
|
Loading…
Reference in New Issue
Block a user