diff view/ViewManager.cpp @ 591:0946feb81b79 sonification

Add playExampleNote route through view manager out to the audio play source
author Chris Cannam
date Fri, 24 Jun 2011 16:42:48 +0100
parents 4806715f7a19
children 5fa210337bee
line wrap: on
line diff
--- a/view/ViewManager.cpp	Fri Jun 24 14:27:32 2011 +0100
+++ b/view/ViewManager.cpp	Fri Jun 24 16:42:48 2011 +0100
@@ -190,6 +190,12 @@
     else return m_playbackModel->alignFromReference(frame);
 }
 
+void
+ViewManager::playExampleNote(int midiPitch)
+{
+    m_playSource->queueExampleNote(midiPitch);
+}
+
 bool
 ViewManager::haveInProgressSelection() const
 {