Audaspace: Removing an unneeded function.

This commit is contained in:
Joerg Mueller 2010-09-01 20:33:26 +00:00
parent bd79d80b8a
commit dd4aecb97a
2 changed files with 0 additions and 23 deletions

@ -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

@ -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.
*/