Mercurial > mplayer.hg
comparison libao2/audio_out.c @ 954:db20b90dd34d
audio out drivers
author | arpi_esp |
---|---|
date | Sat, 02 Jun 2001 23:25:43 +0000 |
parents | |
children | 69b4f944ce08 |
comparison
equal
deleted
inserted
replaced
953:829c68d63262 | 954:db20b90dd34d |
---|---|
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 |