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>2021-07-01 15:24:06 +0300
committerJörg Müller <nexyon@gmail.com>2021-07-01 15:26:13 +0300
commit19d19970e4fa6a738010dfeb2b08886f4a3dd0d5 (patch)
treef1f976871deb4088bed9236952253365512c631c /extern/audaspace/include
parent8c3855dc6e9b2f6e76953384b4aab4ea3ab987ff (diff)
Fix T88887: Audio causes issues with Playback when PC put to Sleep, Hibernate or when Screensaver appears
Porting WASAPI device reinitialization from upstream.
Diffstat (limited to 'extern/audaspace/include')
-rw-r--r--extern/audaspace/include/devices/SoftwareDevice.h6
-rw-r--r--extern/audaspace/include/respec/Mixer.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/extern/audaspace/include/devices/SoftwareDevice.h b/extern/audaspace/include/devices/SoftwareDevice.h
index 209be9941b1..c3af5cfd902 100644
--- a/extern/audaspace/include/devices/SoftwareDevice.h
+++ b/extern/audaspace/include/devices/SoftwareDevice.h
@@ -266,6 +266,12 @@ protected:
void setSpecs(Specs specs);
/**
+ * Sets the audio output specification of the device.
+ * \param specs The output specification.
+ */
+ void setSpecs(DeviceSpecs specs);
+
+ /**
* Empty default constructor. To setup the device call the function create()
* and to uninitialize call destroy().
*/
diff --git a/extern/audaspace/include/respec/Mixer.h b/extern/audaspace/include/respec/Mixer.h
index 600467826cd..9880d5fdcae 100644
--- a/extern/audaspace/include/respec/Mixer.h
+++ b/extern/audaspace/include/respec/Mixer.h
@@ -88,6 +88,12 @@ public:
void setSpecs(Specs specs);
/**
+ * Sets the target specification for superposing.
+ * \param specs The target specification.
+ */
+ void setSpecs(DeviceSpecs specs);
+
+ /**
* Mixes a buffer.
* \param buffer The buffer to superpose.
* \param start The start sample of the buffer.