comparison Alc/ALc.c @ 3:96298d83959c

removed references to the removed backends
author Robert McIntyre <rlm@mit.edu>
date Tue, 25 Oct 2011 13:16:27 -0700
parents f9476ff7637e
children 99df34265b40
comparison
equal deleted inserted replaced
2:82b9267a3e19 3:96298d83959c
41 41
42 42
43 43
44 #define EmptyFuncs { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } 44 #define EmptyFuncs { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
45 static struct BackendInfo BackendList[] = { 45 static struct BackendInfo BackendList[] = {
46 #ifdef HAVE_PULSEAUDIO
47 { "pulse", alc_pulse_init, alc_pulse_deinit, alc_pulse_probe, EmptyFuncs },
48 #endif
49 #ifdef HAVE_ALSA
50 { "alsa", alc_alsa_init, alc_alsa_deinit, alc_alsa_probe, EmptyFuncs },
51 #endif
52 #ifdef HAVE_COREAUDIO
53 { "core", alc_ca_init, alc_ca_deinit, alc_ca_probe, EmptyFuncs },
54 #endif
55 #ifdef HAVE_OSS
56 { "oss", alc_oss_init, alc_oss_deinit, alc_oss_probe, EmptyFuncs },
57 #endif
58 #ifdef HAVE_SOLARIS
59 { "solaris", alc_solaris_init, alc_solaris_deinit, alc_solaris_probe, EmptyFuncs },
60 #endif
61 #ifdef HAVE_SNDIO
62 { "sndio", alc_sndio_init, alc_sndio_deinit, alc_sndio_probe, EmptyFuncs },
63 #endif
64 #ifdef HAVE_MMDEVAPI
65 { "mmdevapi", alcMMDevApiInit, alcMMDevApiDeinit, alcMMDevApiProbe, EmptyFuncs },
66 #endif
67 #ifdef HAVE_DSOUND
68 { "dsound", alcDSoundInit, alcDSoundDeinit, alcDSoundProbe, EmptyFuncs },
69 #endif
70 #ifdef HAVE_WINMM
71 { "winmm", alcWinMMInit, alcWinMMDeinit, alcWinMMProbe, EmptyFuncs },
72 #endif
73 #ifdef HAVE_PORTAUDIO
74 { "port", alc_pa_init, alc_pa_deinit, alc_pa_probe, EmptyFuncs },
75 #endif
76 #ifdef HAVE_OPENSL
77 { "opensl", alc_opensl_init, alc_opensl_deinit, alc_opensl_probe, EmptyFuncs },
78 #endif
79
80 { "null", alc_null_init, alc_null_deinit, alc_null_probe, EmptyFuncs }, 46 { "null", alc_null_init, alc_null_deinit, alc_null_probe, EmptyFuncs },
81 #ifdef HAVE_WAVE
82 { "wave", alc_wave_init, alc_wave_deinit, alc_wave_probe, EmptyFuncs },
83 #endif
84 { "send", alc_send_init, alc_send_deinit, alc_send_probe, EmptyFuncs }, 47 { "send", alc_send_init, alc_send_deinit, alc_send_probe, EmptyFuncs },
85 // this entry is so that the list is terminated by a "null" object, 48 // this entry is so that the list is terminated by a "null" object,
86 // and helps things to tell when they've reached the end of the list. 49 // and helps things to tell when they've reached the end of the list.
87 { NULL, NULL, NULL, NULL, EmptyFuncs } 50 { NULL, NULL, NULL, NULL, EmptyFuncs }
88 }; 51 };