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>2011-09-28 13:37:50 +0400
committerJoerg Mueller <nexyon@gmail.com>2011-09-28 13:37:50 +0400
commitc2323749ffd38da27618dfde75b186ef4abc17bc (patch)
tree295c7b4e14fd10b1c079cfc644651ee6b5d76d73 /intern/audaspace
parent5e3110af059b328e8ddcffbc07e403cd7817fa5f (diff)
Bugfix for wrong playback reported by Sergey Sharybin in IRC.
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/intern/AUD_SequencerReader.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/intern/audaspace/intern/AUD_SequencerReader.cpp b/intern/audaspace/intern/AUD_SequencerReader.cpp
index c468de19580..c8af1161530 100644
--- a/intern/audaspace/intern/AUD_SequencerReader.cpp
+++ b/intern/audaspace/intern/AUD_SequencerReader.cpp
@@ -132,8 +132,14 @@ void AUD_SequencerReader::read(int& length, bool& eos, sample_t* buffer)
while(eit != m_factory->m_entries.end())
{
- handle = new AUD_SequencerHandle(*eit, m_device);
- handles.push_front(handle);
+ try
+ {
+ handle = new AUD_SequencerHandle(*eit, m_device);
+ handles.push_front(handle);
+ }
+ catch(AUD_Exception&)
+ {
+ }
eit++;
}