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 3b49bcc..46c632b 100644 --- a/src/gui/seqmanager/ControlBlockMmapper.cpp +++ b/src/gui/seqmanager/ControlBlockMmapper.cpp @@ -61,7 +61,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) { - SEQMAN_DEBUG << "ControlBlockMmapper : Couldn't open " << m_fileName + SETQMAN_DEBUG << "ControlBlockMmapper : Couldn't open " << m_fileName << endl; throw Exception("Couldn't open " + qstrtostr(m_fileName)); } @@ -76,11 +76,11 @@ ControlBlockMmapper::ControlBlockMmapper(RosegardenGUIDoc* doc) MAP_SHARED, m_fd, 0); if (m_mmappedBuffer == (void*) - 1) { - SEQMAN_DEBUG << TQString("mmap failed : (%1) %2\n").arg(errno).arg(strerror(errno)); + SETQMAN_DEBUG << TQString("mmap failed : (%1) %2\n").tqarg(errno).tqarg(strerror(errno)); throw Exception("mmap failed"); } - SEQMAN_DEBUG << "ControlBlockMmapper : mmap size : " << m_mmappedSize + SETQMAN_DEBUG << "ControlBlockMmapper : mmap size : " << m_mmappedSize << " at " << (void*)m_mmappedBuffer << endl; // Create new control block on file @@ -125,7 +125,7 @@ void ControlBlockMmapper::updateMetronomeData(InstrumentId instId) void ControlBlockMmapper::updateMetronomeForPlayback() { bool muted = !m_doc->getComposition().usePlayMetronome(); - SEQMAN_DEBUG << "ControlBlockMmapper::updateMetronomeForPlayback: muted=" << muted << endl; + SETQMAN_DEBUG << "ControlBlockMmapper::updateMetronomeForPlayback: muted=" << muted << endl; if (m_controlBlock->isMetronomeMuted() == muted) return ; m_controlBlock->setMetronomeMuted(muted); @@ -134,7 +134,7 @@ void ControlBlockMmapper::updateMetronomeForPlayback() void ControlBlockMmapper::updateMetronomeForRecord() { bool muted = !m_doc->getComposition().useRecordMetronome(); - SEQMAN_DEBUG << "ControlBlockMmapper::updateMetronomeForRecord: muted=" << muted << endl; + SETQMAN_DEBUG << "ControlBlockMmapper::updateMetronomeForRecord: muted=" << muted << endl; if (m_controlBlock->isMetronomeMuted() == muted) return ; m_controlBlock->setMetronomeMuted(muted); @@ -163,14 +163,14 @@ bool ControlBlockMmapper::updateSoloData(bool solo, void ControlBlockMmapper::setDocument(RosegardenGUIDoc* doc) { - SEQMAN_DEBUG << "ControlBlockMmapper::setDocument()\n"; + SETQMAN_DEBUG << "ControlBlockMmapper::setDocument()\n"; m_doc = doc; initControlBlock(); } void ControlBlockMmapper::initControlBlock() { - SEQMAN_DEBUG << "ControlBlockMmapper::initControlBlock()\n"; + SETQMAN_DEBUG << "ControlBlockMmapper::initControlBlock()\n"; m_controlBlock = new (m_mmappedBuffer) ControlBlock(m_doc->getComposition().getMaxTrackId()); @@ -194,7 +194,7 @@ void ControlBlockMmapper::initControlBlock() void ControlBlockMmapper::setFileSize(size_t size) { - SEQMAN_DEBUG << "ControlBlockMmapper : setting size of " + SETQMAN_DEBUG << "ControlBlockMmapper : setting size of " << m_fileName << " to " << size << endl; // rewind ::lseek(m_fd, 0, SEEK_SET); |