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:
authorJörg Müller <nexyon@gmail.com>2019-01-17 23:17:30 +0300
committerJörg Müller <nexyon@gmail.com>2019-01-17 23:17:30 +0300
commitd3e856cdfc0f184c230166046dd939baa0ac7a28 (patch)
tree4247f4e4b0c36a80618a2148575a547533da7b1b /extern/audaspace/plugins/openal/OpenALDevice.h
parent16fac2149b7ec830dc5ef2f9ebbfcd226ecec581 (diff)
Audaspace: porting changes from upstream.
- Silence some warnings. - Fix: Python API memory leak. - Fix for T54490: VSE breaks when I insert or remove headphones
Diffstat (limited to 'extern/audaspace/plugins/openal/OpenALDevice.h')
-rw-r--r--extern/audaspace/plugins/openal/OpenALDevice.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/extern/audaspace/plugins/openal/OpenALDevice.h b/extern/audaspace/plugins/openal/OpenALDevice.h
index b9b461a327c..c2bec443933 100644
--- a/extern/audaspace/plugins/openal/OpenALDevice.h
+++ b/extern/audaspace/plugins/openal/OpenALDevice.h
@@ -95,11 +95,16 @@ private:
/// Current status of the handle
Status m_status;
+ /// Whether the source is relative or not.
+ ALint m_relative;
+
/// Own device.
OpenALDevice* m_device;
AUD_LOCAL bool pause(bool keep);
+ AUD_LOCAL bool reinitialize();
+
// delete copy constructor and operator=
OpenALHandle(const OpenALHandle&) = delete;
OpenALHandle& operator=(const OpenALHandle&) = delete;
@@ -174,11 +179,21 @@ private:
DeviceSpecs m_specs;
/**
+ * The device name.
+ */
+ std::string m_name;
+
+ /**
* Whether the device has the AL_EXT_MCFORMATS extension.
*/
bool m_useMC;
/**
+ * Whether the ALC_EXT_disconnect extension is present and device disconnect should be checked repeatedly.
+ */
+ bool m_checkDisconnect;
+
+ /**
* The list of sounds that are currently playing.
*/
std::list<std::shared_ptr<OpenALHandle> > m_playingSounds;