forked from bartvdbraak/blender
Audaspace: Removing an unneeded function.
This commit is contained in:
parent
bd79d80b8a
commit
dd4aecb97a
@ -96,7 +96,6 @@ typedef AUD_Handle AUD_Channel;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static AUD_IDevice* AUD_device = NULL;
|
static AUD_IDevice* AUD_device = NULL;
|
||||||
static int AUD_available_devices[4];
|
|
||||||
static AUD_I3DDevice* AUD_3ddevice = NULL;
|
static AUD_I3DDevice* AUD_3ddevice = NULL;
|
||||||
|
|
||||||
void AUD_initOnce()
|
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()
|
void AUD_exit()
|
||||||
{
|
{
|
||||||
#ifndef DISABLE_PYTHON
|
#ifndef DISABLE_PYTHON
|
||||||
|
@ -69,12 +69,6 @@ extern void AUD_initOnce();
|
|||||||
*/
|
*/
|
||||||
extern int AUD_init(AUD_DeviceType device, AUD_DeviceSpecs specs, int buffersize);
|
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.
|
* Unitinitializes an audio device.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user