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>2012-02-14 01:27:11 +0400
committerJoerg Mueller <nexyon@gmail.com>2012-02-14 01:27:11 +0400
commitc0c1a9700e7451d3e8da73ce38482327fd009111 (patch)
tree2f7c7eb980d4ac4d6c1c94848a4431d0b3e6be1d /intern/audaspace
parent873386b22d13de716b0d0b70fdf4a8acc97ae18b (diff)
Fix for [#30171] "Audio Muted" Does Not Mute Audio
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/intern/AUD_SequencerReader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/audaspace/intern/AUD_SequencerReader.cpp b/intern/audaspace/intern/AUD_SequencerReader.cpp
index 44df66ccc3a..7c8fe9eef4e 100644
--- a/intern/audaspace/intern/AUD_SequencerReader.cpp
+++ b/intern/audaspace/intern/AUD_SequencerReader.cpp
@@ -176,6 +176,8 @@ void AUD_SequencerReader::read(int& length, bool& eos, sample_t* buffer)
}
m_factory->m_volume.read(frame, &volume);
+ if(m_factory->m_muted)
+ volume = 0.0f;
m_device.setVolume(volume);
m_factory->m_orientation.read(frame, q.get());