summaryrefslogtreecommitdiffstats
path: root/src/gui/seqmanager/MetronomeMmapper.cpp
diff options
context:
space:
mode:
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 64964f0..d9804cd 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)
{
- SEQMAN_DEBUG << "MetronomeMmapper ctor : " << this << endl;
+ SETQMAN_DEBUG << "MetronomeMmapper ctor : " << this << endl;
// get metronome device
Studio &studio = m_doc->getStudio();
@@ -65,13 +65,13 @@ MetronomeMmapper::MetronomeMmapper(RosegardenGUIDoc* doc)
if (metronome) {
- SEQMAN_DEBUG << "MetronomeMmapper: have metronome, it's on instrument " << metronome->getInstrument() << endl;
+ SETQMAN_DEBUG << "MetronomeMmapper: have metronome, it's on instrument " << metronome->getInstrument() << endl;
m_metronome = new MidiMetronome(*metronome);
} else {
m_metronome = new MidiMetronome
(SystemInstrumentBase);
- SEQMAN_DEBUG << "MetronomeMmapper: no metronome for device " << device << endl;
+ SETQMAN_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) {
- SEQMAN_DEBUG << "MetronomeMmapper : WARNING no ticks generated\n";
+ SETQMAN_DEBUG << "MetronomeMmapper : WARNING no ticks generated\n";
}
// Done by init()
@@ -144,7 +144,7 @@ MetronomeMmapper::MetronomeMmapper(RosegardenGUIDoc* doc)
MetronomeMmapper::~MetronomeMmapper()
{
- SEQMAN_DEBUG << "~MetronomeMmapper " << this << endl;
+ SETQMAN_DEBUG << "~MetronomeMmapper " << this << endl;
delete m_metronome;
}
@@ -163,14 +163,14 @@ void MetronomeMmapper::dump()
RealTime eventTime;
Composition& comp = m_doc->getComposition();
- SEQMAN_DEBUG << "MetronomeMmapper::dump: instrument is " << m_metronome->getInstrument() << endl;
+ SETQMAN_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) {
/*
- SEQMAN_DEBUG << "MetronomeMmapper::dump: velocity = "
+ SETQMAN_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);
- SEQMAN_DEBUG << "MetronomeMmapper::dump: - "
+ SETQMAN_DEBUG << "MetronomeMmapper::dump: - "
<< "Total events written = " << *(size_t *)m_mmappedRegion
<< endl;
}
@@ -244,7 +244,7 @@ size_t MetronomeMmapper::computeMmappedSize()
Note(Note::Crotchet).getDuration();
/*
- SEQMAN_DEBUG << "MetronomeMmapper::computeMmappedSize - "
+ SETQMAN_DEBUG << "MetronomeMmapper::computeMmappedSize - "
<< "Number of clock events catered for = " << clocks
<< endl;
*/