summaryrefslogtreecommitdiffstats
path: root/libao2/audio_out.c
blob: 0e54a62672ca2fb6434ea59f73670260b2e0750a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

#include <stdio.h>
#include <stdlib.h>

#include "../config.h"

#include "audio_out.h"

// there are some globals:
int ao_samplerate=0;
int ao_channels=0;
int ao_format=0;
int ao_bps=0;
int ao_outburst=OUTBURST; // config.h default
int ao_buffersize=-1;

extern ao_functions_t audio_out_oss;
//extern ao_functions_t audio_out_ossold;
//extern ao_functions_t audio_out_alsa;
//extern ao_functions_t audio_out_esd;
extern ao_functions_t audio_out_null;

ao_functions_t* audio_out_drivers[] =
{
        &audio_out_oss,
        &audio_out_null,
	NULL
};