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:
authorJoerg Mueller <nexyon@gmail.com>2013-08-15 01:21:00 +0400
committerJoerg Mueller <nexyon@gmail.com>2013-08-15 01:21:00 +0400
commitc8f75fb5b1918a13a722ed39bb8cace1ee5b58b8 (patch)
treeb2439e74b81c952801ef4c5615562d106792def1 /intern/audaspace/OpenAL/AUD_OpenALDevice.h
parent9e42f76bab4a5ee766e4fe09bd9c9b3579e3da8d (diff)
Adding a new state for sound handles in audaspace: stopped.
Now sounds that stopped playing but are still kept in the device can be differentiated from paused sounds with this state. This should also fix the performance issues mentioned in [#36466] End of SequencerEntrys not set correctly. Please test if sound pausing, resuming and stopping works fine in the BGE and sequencer, my tests all worked fine, but there might be a use case that needs some fixing.
Diffstat (limited to 'intern/audaspace/OpenAL/AUD_OpenALDevice.h')
-rw-r--r--intern/audaspace/OpenAL/AUD_OpenALDevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/audaspace/OpenAL/AUD_OpenALDevice.h b/intern/audaspace/OpenAL/AUD_OpenALDevice.h
index d2a4be227ba..f0e47824967 100644
--- a/intern/audaspace/OpenAL/AUD_OpenALDevice.h
+++ b/intern/audaspace/OpenAL/AUD_OpenALDevice.h
@@ -96,6 +96,8 @@ private:
/// Own device.
AUD_OpenALDevice* m_device;
+ bool pause(bool keep);
+
public:
/**