comparison libao2/audio_out.c @ 1107:9d764880d989

Added raw PCM writer ao driver.
author atmosfear
date Tue, 12 Jun 2001 11:00:15 +0000
parents cab5ba9ffc6c
children 2cd5ab1bee75
comparison
equal deleted inserted replaced
1106:7255ea9a55d5 1107:9d764880d989
31 extern ao_functions_t audio_out_sdl; 31 extern ao_functions_t audio_out_sdl;
32 #endif 32 #endif
33 #ifdef USE_SUN_AUDIO 33 #ifdef USE_SUN_AUDIO
34 extern ao_functions_t audio_out_sun; 34 extern ao_functions_t audio_out_sun;
35 #endif 35 #endif
36 extern ao_functions_t audio_out_pcm;
36 37
37 ao_functions_t* audio_out_drivers[] = 38 ao_functions_t* audio_out_drivers[] =
38 { 39 {
39 #ifdef USE_OSS_AUDIO 40 #ifdef USE_OSS_AUDIO
40 &audio_out_oss, 41 &audio_out_oss,
53 &audio_out_sdl, 54 &audio_out_sdl,
54 #endif 55 #endif
55 #ifdef USE_SUN_AUDIO 56 #ifdef USE_SUN_AUDIO
56 &audio_out_sun, 57 &audio_out_sun,
57 #endif 58 #endif
59 &audio_out_pcm,
58 NULL 60 NULL
59 }; 61 };
60 62
61 char *audio_out_format_name(int format) 63 char *audio_out_format_name(int format)
62 { 64 {