annotate libao2/audio_out.c @ 954:db20b90dd34d

audio out drivers
author arpi_esp
date Sat, 02 Jun 2001 23:25:43 +0000
parents
children 69b4f944ce08
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
954
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
1
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
2 #include <stdio.h>
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
3 #include <stdlib.h>
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
4
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
5 #include "../config.h"
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
6
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
7 #include "audio_out.h"
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
8
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
9 // there are some globals:
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
10 int ao_samplerate=0;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
11 int ao_channels=0;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
12 int ao_format=0;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
13 int ao_bps=0;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
14 int ao_outburst=OUTBURST; // config.h default
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
15 int ao_buffersize=-1;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
16
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
17 extern ao_functions_t audio_out_oss;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
18 //extern ao_functions_t audio_out_ossold;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
19 //extern ao_functions_t audio_out_alsa;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
20 //extern ao_functions_t audio_out_esd;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
21 extern ao_functions_t audio_out_null;
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
22
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
23 ao_functions_t* audio_out_drivers[] =
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
24 {
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
25 &audio_out_oss,
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
26 &audio_out_null,
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
27 NULL
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
28 };
db20b90dd34d audio out drivers
arpi_esp
parents:
diff changeset
29