From d3e856cdfc0f184c230166046dd939baa0ac7a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20M=C3=BCller?= Date: Thu, 17 Jan 2019 21:17:30 +0100 Subject: Audaspace: porting changes from upstream. - Silence some warnings. - Fix: Python API memory leak. - Fix for T54490: VSE breaks when I insert or remove headphones --- extern/audaspace/plugins/openal/OpenALDevice.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'extern/audaspace/plugins/openal/OpenALDevice.h') 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; @@ -173,11 +178,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. */ -- cgit v1.2.3