diff options
Diffstat (limited to 'src/gui/seqmanager/ControlBlockMmapper.cpp')
-rw-r--r-- | src/gui/seqmanager/ControlBlockMmapper.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/seqmanager/ControlBlockMmapper.cpp b/src/gui/seqmanager/ControlBlockMmapper.cpp index ec4810b..ff37495 100644 --- a/src/gui/seqmanager/ControlBlockMmapper.cpp +++ b/src/gui/seqmanager/ControlBlockMmapper.cpp @@ -62,7 +62,7 @@ ControlBlockMmapper::ControlBlockMmapper(RosegardenGUIDoc* doc) m_fd = ::open(m_fileName.latin1(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); if (m_fd < 0) { - SETQMAN_DEBUG << "ControlBlockMmapper : Couldn't open " << m_fileName + SEQMAN_DEBUG << "ControlBlockMmapper : Couldn't open " << m_fileName << endl; throw Exception("Couldn't open " + qstrtostr(m_fileName)); } @@ -77,11 +77,11 @@ ControlBlockMmapper::ControlBlockMmapper(RosegardenGUIDoc* doc) MAP_SHARED, m_fd, 0); if (m_mmappedBuffer == (void*) - 1) { - SETQMAN_DEBUG << TQString("mmap failed : (%1) %2\n").arg(errno).arg(strerror(errno)); + SEQMAN_DEBUG << TQString("mmap failed : (%1) %2\n").arg(errno).arg(strerror(errno)); throw Exception("mmap failed"); } - SETQMAN_DEBUG << "ControlBlockMmapper : mmap size : " << m_mmappedSize + SEQMAN_DEBUG << "ControlBlockMmapper : mmap size : " << m_mmappedSize << " at " << (void*)m_mmappedBuffer << endl; // Create new control block on file @@ -126,7 +126,7 @@ void ControlBlockMmapper::updateMetronomeData(InstrumentId instId) void ControlBlockMmapper::updateMetronomeForPlayback() { bool muted = !m_doc->getComposition().usePlayMetronome(); - SETQMAN_DEBUG << "ControlBlockMmapper::updateMetronomeForPlayback: muted=" << muted << endl; + SEQMAN_DEBUG << "ControlBlockMmapper::updateMetronomeForPlayback: muted=" << muted << endl; if (m_controlBlock->isMetronomeMuted() == muted) return ; m_controlBlock->setMetronomeMuted(muted); @@ -135,7 +135,7 @@ void ControlBlockMmapper::updateMetronomeForPlayback() void ControlBlockMmapper::updateMetronomeForRecord() { bool muted = !m_doc->getComposition().useRecordMetronome(); - SETQMAN_DEBUG << "ControlBlockMmapper::updateMetronomeForRecord: muted=" << muted << endl; + SEQMAN_DEBUG << "ControlBlockMmapper::updateMetronomeForRecord: muted=" << muted << endl; if (m_controlBlock->isMetronomeMuted() == muted) return ; m_controlBlock->setMetronomeMuted(muted); @@ -164,14 +164,14 @@ bool ControlBlockMmapper::updateSoloData(bool solo, void ControlBlockMmapper::setDocument(RosegardenGUIDoc* doc) { - SETQMAN_DEBUG << "ControlBlockMmapper::setDocument()\n"; + SEQMAN_DEBUG << "ControlBlockMmapper::setDocument()\n"; m_doc = doc; initControlBlock(); } void ControlBlockMmapper::initControlBlock() { - SETQMAN_DEBUG << "ControlBlockMmapper::initControlBlock()\n"; + SEQMAN_DEBUG << "ControlBlockMmapper::initControlBlock()\n"; m_controlBlock = new (m_mmappedBuffer) ControlBlock(m_doc->getComposition().getMaxTrackId()); @@ -195,7 +195,7 @@ void ControlBlockMmapper::initControlBlock() void ControlBlockMmapper::setFileSize(size_t size) { - SETQMAN_DEBUG << "ControlBlockMmapper : setting size of " + SEQMAN_DEBUG << "ControlBlockMmapper : setting size of " << m_fileName << " to " << size << endl; // rewind ::lseek(m_fd, 0, SEEK_SET); |