954
|
1
|
|
2 #include <stdio.h>
|
|
3 #include <stdlib.h>
|
|
4
|
|
5 #include "../config.h"
|
|
6
|
|
7 #include "audio_out.h"
|
|
8
|
|
9 // there are some globals:
|
|
10 int ao_samplerate=0;
|
|
11 int ao_channels=0;
|
|
12 int ao_format=0;
|
|
13 int ao_bps=0;
|
|
14 int ao_outburst=OUTBURST; // config.h default
|
|
15 int ao_buffersize=-1;
|
|
16
|
|
17 extern ao_functions_t audio_out_oss;
|
|
18 //extern ao_functions_t audio_out_ossold;
|
|
19 //extern ao_functions_t audio_out_alsa;
|
|
20 //extern ao_functions_t audio_out_esd;
|
|
21 extern ao_functions_t audio_out_null;
|
|
22
|
|
23 ao_functions_t* audio_out_drivers[] =
|
|
24 {
|
|
25 &audio_out_oss,
|
|
26 &audio_out_null,
|
|
27 NULL
|
|
28 };
|
|
29
|