changeset 1185:e21c96e28062

ao_subdevice implemented
author al3x
date Thu, 21 Jun 2001 22:34:58 +0000
parents e8c3f89ecd96
children beb0ee0f3a25
files libao2/audio_out.c libao2/audio_out.h
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/audio_out.c	Thu Jun 21 22:34:25 2001 +0000
+++ b/libao2/audio_out.c	Thu Jun 21 22:34:58 2001 +0000
@@ -12,6 +12,7 @@
 int ao_bps=0;
 int ao_outburst=OUTBURST; // config.h default
 int ao_buffersize=-1;
+char *ao_subdevice = NULL;
 
 #ifdef USE_OSS_AUDIO
 extern ao_functions_t audio_out_oss;
@@ -34,6 +35,7 @@
 extern ao_functions_t audio_out_sun;
 #endif
 extern ao_functions_t audio_out_pcm;
+extern ao_functions_t audio_out_pss;
 
 ao_functions_t* audio_out_drivers[] =
 {
@@ -57,6 +59,7 @@
         &audio_out_sun,
 #endif
 	&audio_out_pcm,
+//	&audio_out_pss,
 	NULL
 };
 
--- a/libao2/audio_out.h	Thu Jun 21 22:34:25 2001 +0000
+++ b/libao2/audio_out.h	Thu Jun 21 22:34:58 2001 +0000
@@ -36,6 +36,7 @@
 extern int ao_bps;
 extern int ao_outburst;
 extern int ao_buffersize;
+extern char *ao_subdevice;
 
 #define CONTROL_OK 1
 #define CONTROL_TRUE 1