summaryrefslogtreecommitdiffstats
path: root/src/gui/seqmanager/MetronomeMmapper.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-02-16 14:40:24 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2014-02-16 14:40:24 -0600
commit0ab5fbc594609c90373e83aae598eb4efd37ddf3 (patch)
tree4c5a2c8155b6104cca588bfe3cd80837be93f1e0 /src/gui/seqmanager/MetronomeMmapper.cpp
parentae53ad08dbe88e0dc753e9aa71e66a8afe441844 (diff)
downloadrosegarden-0ab5fbc594609c90373e83aae598eb4efd37ddf3.tar.gz
rosegarden-0ab5fbc594609c90373e83aae598eb4efd37ddf3.zip
Fix unintended renaming
Diffstat (limited to 'src/gui/seqmanager/MetronomeMmapper.cpp')
-rw-r--r--src/gui/seqmanager/MetronomeMmapper.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/seqmanager/MetronomeMmapper.cpp b/src/gui/seqmanager/MetronomeMmapper.cpp
index 196c481..a21c9cf 100644
--- a/src/gui/seqmanager/MetronomeMmapper.cpp
+++ b/src/gui/seqmanager/MetronomeMmapper.cpp
@@ -54,7 +54,7 @@ MetronomeMmapper::MetronomeMmapper(RosegardenGUIDoc* doc)
m_metronome(0), // no metronome to begin with
m_tickDuration(0, 100000000)
{
- SETQMAN_DEBUG << "MetronomeMmapper ctor : " << this << endl;
+ SEQMAN_DEBUG << "MetronomeMmapper ctor : " << this << endl;
// get metronome device
Studio &studio = m_doc->getStudio();
@@ -65,13 +65,13 @@ MetronomeMmapper::MetronomeMmapper(RosegardenGUIDoc* doc)
if (metronome) {
- SETQMAN_DEBUG << "MetronomeMmapper: have metronome, it's on instrument " << metronome->getInstrument() << endl;
+ SEQMAN_DEBUG << "MetronomeMmapper: have metronome, it's on instrument " << metronome->getInstrument() << endl;
m_metronome = new MidiMetronome(*metronome);
} else {
m_metronome = new MidiMetronome
(SystemInstrumentBase);
- SETQMAN_DEBUG << "MetronomeMmapper: no metronome for device " << device << endl;
+ SEQMAN_DEBUG << "MetronomeMmapper: no metronome for device " << device << endl;
}
Composition& c = m_doc->getComposition();
@@ -129,7 +129,7 @@ MetronomeMmapper::MetronomeMmapper(RosegardenGUIDoc* doc)
sortTicks();
if (m_ticks.size() == 0) {
- SETQMAN_DEBUG << "MetronomeMmapper : WARNING no ticks generated\n";
+ SEQMAN_DEBUG << "MetronomeMmapper : WARNING no ticks generated\n";
}
// Done by init()
@@ -144,7 +144,7 @@ MetronomeMmapper::MetronomeMmapper(RosegardenGUIDoc* doc)
MetronomeMmapper::~MetronomeMmapper()
{
- SETQMAN_DEBUG << "~MetronomeMmapper " << this << endl;
+ SEQMAN_DEBUG << "~MetronomeMmapper " << this << endl;
delete m_metronome;
}
@@ -163,14 +163,14 @@ void MetronomeMmapper::dump()
RealTime eventTime;
Composition& comp = m_doc->getComposition();
- SETQMAN_DEBUG << "MetronomeMmapper::dump: instrument is " << m_metronome->getInstrument() << endl;
+ SEQMAN_DEBUG << "MetronomeMmapper::dump: instrument is " << m_metronome->getInstrument() << endl;
MappedEvent* bufPos = m_mmappedEventBuffer, *mE;
for (TickContainer::iterator i = m_ticks.begin(); i != m_ticks.end(); ++i) {
/*
- SETQMAN_DEBUG << "MetronomeMmapper::dump: velocity = "
+ SEQMAN_DEBUG << "MetronomeMmapper::dump: velocity = "
<< int(velocity) << endl;
*/
@@ -214,7 +214,7 @@ void MetronomeMmapper::dump()
// Store the number of events at the start of the shared memory region
*(size_t *)m_mmappedRegion = (bufPos - m_mmappedEventBuffer);
- SETQMAN_DEBUG << "MetronomeMmapper::dump: - "
+ SEQMAN_DEBUG << "MetronomeMmapper::dump: - "
<< "Total events written = " << *(size_t *)m_mmappedRegion
<< endl;
}
@@ -244,7 +244,7 @@ size_t MetronomeMmapper::computeMmappedSize()
Note(Note::Crotchet).getDuration();
/*
- SETQMAN_DEBUG << "MetronomeMmapper::computeMmappedSize - "
+ SEQMAN_DEBUG << "MetronomeMmapper::computeMmappedSize - "
<< "Number of clock events catered for = " << clocks
<< endl;
*/