Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/audaspace/SDL/AUD_SDLDevice.h')
-rw-r--r--intern/audaspace/SDL/AUD_SDLDevice.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/intern/audaspace/SDL/AUD_SDLDevice.h b/intern/audaspace/SDL/AUD_SDLDevice.h
index fa24508a2f6..3eb93d28762 100644
--- a/intern/audaspace/SDL/AUD_SDLDevice.h
+++ b/intern/audaspace/SDL/AUD_SDLDevice.h
@@ -28,8 +28,6 @@
#include "AUD_SoftwareDevice.h"
-#include <list>
-
/**
* This device plays back through SDL, the simple direct media layer.
*/
@@ -38,26 +36,15 @@ class AUD_SDLDevice : public AUD_SoftwareDevice
protected:
virtual void playing(bool playing);
-private:
- /**
- * Initializes the device.
- */
- void init();
-
public:
/**
* Opens the SDL audio device for playback.
- * \exception AUD_Exception Thrown if the audio device cannot be opened.
- */
- AUD_SDLDevice();
-
- /**
- * Opens the SDL audio device for playback.
* \param specs The wanted audio specification.
+ * \param buffersize The size of the internal buffer.
* \note The specification really used for opening the device may differ.
* \exception AUD_Exception Thrown if the audio device cannot be opened.
*/
- AUD_SDLDevice(AUD_Specs specs);
+ AUD_SDLDevice(AUD_Specs specs, int buffersize = AUD_DEFAULT_BUFFER_SIZE);
/**
* Closes the SDL audio device.