From dd4aecb97a1e5dca67e883996e1b648d4514e42b Mon Sep 17 00:00:00 2001 From: Joerg Mueller Date: Wed, 1 Sep 2010 20:33:26 +0000 Subject: Audaspace: Removing an unneeded function. --- intern/audaspace/intern/AUD_C-API.cpp | 17 ----------------- intern/audaspace/intern/AUD_C-API.h | 6 ------ 2 files changed, 23 deletions(-) (limited to 'intern/audaspace') diff --git a/intern/audaspace/intern/AUD_C-API.cpp b/intern/audaspace/intern/AUD_C-API.cpp index 5ca0b0d60b4..d22d9e6c434 100644 --- a/intern/audaspace/intern/AUD_C-API.cpp +++ b/intern/audaspace/intern/AUD_C-API.cpp @@ -96,7 +96,6 @@ typedef AUD_Handle AUD_Channel; #endif static AUD_IDevice* AUD_device = NULL; -static int AUD_available_devices[4]; static AUD_I3DDevice* AUD_3ddevice = NULL; void AUD_initOnce() @@ -161,22 +160,6 @@ int AUD_init(AUD_DeviceType device, AUD_DeviceSpecs specs, int buffersize) } } -int* AUD_enumDevices() -{ - int i = 0; -#ifdef WITH_SDL - AUD_available_devices[i++] = AUD_SDL_DEVICE; -#endif -#ifdef WITH_OPENAL - AUD_available_devices[i++] = AUD_OPENAL_DEVICE; -#endif -#ifdef WITH_JACK - AUD_available_devices[i++] = AUD_JACK_DEVICE; -#endif - AUD_available_devices[i++] = AUD_NULL_DEVICE; - return AUD_available_devices; -} - void AUD_exit() { #ifndef DISABLE_PYTHON diff --git a/intern/audaspace/intern/AUD_C-API.h b/intern/audaspace/intern/AUD_C-API.h index 4dc074b9288..08f2845de4f 100644 --- a/intern/audaspace/intern/AUD_C-API.h +++ b/intern/audaspace/intern/AUD_C-API.h @@ -69,12 +69,6 @@ extern void AUD_initOnce(); */ extern int AUD_init(AUD_DeviceType device, AUD_DeviceSpecs specs, int buffersize); -/** - * Returns a integer list with available sound devices. The last one is always - * AUD_NULL_DEVICE. - */ -extern int* AUD_enumDevices(); - /** * Unitinitializes an audio device. */ -- cgit v1.2.3