diff options
author | Chris Robinson <[email protected]> | 2011-06-14 04:02:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-06-14 04:02:58 -0700 |
commit | 53c5275aa4ea9c42d850cf3f2d9fe589a7c84924 (patch) | |
tree | 2de994091bfee13326534878ad4f770a1e36fe56 /OpenAL32/Include | |
parent | c93d7a1721dc8233d0a256c022ab55223c582062 (diff) |
Use a proper enum for the probe type
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index e18fd123..2e06f7bd 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -295,7 +295,7 @@ typedef struct { ALCuint (*AvailableSamples)(ALCdevice*); } BackendFuncs; -enum { +enum DevProbe { DEVICE_PROBE, ALL_DEVICE_PROBE, CAPTURE_DEVICE_PROBE @@ -303,43 +303,43 @@ enum { void alc_alsa_init(BackendFuncs *func_list); void alc_alsa_deinit(void); -void alc_alsa_probe(int type); +void alc_alsa_probe(enum DevProbe type); void alc_oss_init(BackendFuncs *func_list); void alc_oss_deinit(void); -void alc_oss_probe(int type); +void alc_oss_probe(enum DevProbe type); void alc_solaris_init(BackendFuncs *func_list); void alc_solaris_deinit(void); -void alc_solaris_probe(int type); +void alc_solaris_probe(enum DevProbe type); void alcMMDevApiInit(BackendFuncs *func_list); void alcMMDevApiDeinit(void); -void alcMMDevApiProbe(int type); +void alcMMDevApiProbe(enum DevProbe type); void alcDSoundInit(BackendFuncs *func_list); void alcDSoundDeinit(void); -void alcDSoundProbe(int type); +void alcDSoundProbe(enum DevProbe type); void alcWinMMInit(BackendFuncs *FuncList); void alcWinMMDeinit(void); -void alcWinMMProbe(int type); +void alcWinMMProbe(enum DevProbe type); void alc_pa_init(BackendFuncs *func_list); void alc_pa_deinit(void); -void alc_pa_probe(int type); +void alc_pa_probe(enum DevProbe type); void alc_wave_init(BackendFuncs *func_list); void alc_wave_deinit(void); -void alc_wave_probe(int type); +void alc_wave_probe(enum DevProbe type); void alc_pulse_init(BackendFuncs *func_list); void alc_pulse_deinit(void); -void alc_pulse_probe(int type); +void alc_pulse_probe(enum DevProbe type); void alc_ca_init(BackendFuncs *func_list); void alc_ca_deinit(void); -void alc_ca_probe(int type); +void alc_ca_probe(enum DevProbe type); void alc_opensl_init(BackendFuncs *func_list); void alc_opensl_deinit(void); -void alc_opensl_probe(int type); +void alc_opensl_probe(enum DevProbe type); void alc_null_init(BackendFuncs *func_list); void alc_null_deinit(void); -void alc_null_probe(int type); +void alc_null_probe(enum DevProbe type); void alc_loopback_init(BackendFuncs *func_list); void alc_loopback_deinit(void); -void alc_loopback_probe(int type); +void alc_loopback_probe(enum DevProbe type); typedef struct UIntMap { |