diff options
author | Chris Robinson <[email protected]> | 2009-08-27 06:09:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-08-27 06:09:33 -0700 |
commit | bb121e68a618d1881a6e35c47938ce0650d07afb (patch) | |
tree | 620e024aa067cc96d36a91e2210beffc2115220e /Alc/wave.c | |
parent | 1ec26fd789ddfcbabbeae003f286cc01062721c0 (diff) |
Rebuild device lists when retrieving them
Diffstat (limited to 'Alc/wave.c')
-rw-r--r-- | Alc/wave.c | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -366,11 +366,16 @@ BackendFuncs wave_funcs = { void alc_wave_init(BackendFuncs *func_list) { *func_list = wave_funcs; - - AppendDeviceList(waveDevice); - AppendAllDeviceList(waveDevice); } void alc_wave_deinit(void) { } + +void alc_wave_probe(int type) +{ + if(type == DEVICE_PROBE) + AppendDeviceList(waveDevice); + else if(type == ALL_DEVICE_PROBE) + AppendAllDeviceList(waveDevice); +} |