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 c468de1..c8af116 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++;
                }