comparison view/View.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
comparison
equal deleted inserted replaced
590:241929c5d57c 591:0946feb81b79
2363 2363
2364 return QSize(x1 - x0, height()); 2364 return QSize(x1 - x0, height());
2365 } 2365 }
2366 2366
2367 void 2367 void
2368 View::playExampleNote(int midiPitch) const
2369 {
2370 if (m_manager) m_manager->playExampleNote(midiPitch);
2371 }
2372
2373 void
2368 View::toXml(QTextStream &stream, 2374 View::toXml(QTextStream &stream,
2369 QString indent, QString extraAttributes) const 2375 QString indent, QString extraAttributes) const
2370 { 2376 {
2371 stream << indent; 2377 stream << indent;
2372 2378