Bugfix for wrong playback reported by Sergey Sharybin in IRC.
authorJoerg Mueller <nexyon@gmail.com>
Wed, 28 Sep 2011 09:37:50 +0000 (09:37 +0000)
committerJoerg Mueller <nexyon@gmail.com>
Wed, 28 Sep 2011 09:37:50 +0000 (09:37 +0000)
intern/audaspace/intern/AUD_SequencerReader.cpp

index c468de19580f9dce02031852480e9f2ad944cf56..c8af1161530cbe0f9b2d39e5ed2bd9cf67c701ba 100644 (file)
@@ -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++;
                }