# HG changeset patch # User al3x # Date 993162898 0 # Node ID e21c96e28062b7877a9f5f6ba48774f497ff8b71 # Parent e8c3f89ecd96731bc4c403c5654ff29cb4b69112 ao_subdevice implemented diff -r e8c3f89ecd96 -r e21c96e28062 libao2/audio_out.c --- 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 }; diff -r e8c3f89ecd96 -r e21c96e28062 libao2/audio_out.h --- 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