summaryrefslogtreecommitdiffstats
path: root/src/sound/AudioProcess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/AudioProcess.cpp')
-rw-r--r--src/sound/AudioProcess.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sound/AudioProcess.cpp b/src/sound/AudioProcess.cpp
index c811654..7a7f1ab 100644
--- a/src/sound/AudioProcess.cpp
+++ b/src/sound/AudioProcess.cpp
@@ -2337,7 +2337,7 @@ AudioFileWriter::closeRecordFile(InstrumentId id, AudioFileId &returnedId)
return false;
returnedId = m_files[id].first->getId();
- m_files[id].second->setStatus(RecordableAudioFile::DEFUNCT);
+ m_files[id].second->settqStatus(RecordableAudioFile::DEFUNCT);
#ifdef DEBUG_WRITER
@@ -2364,7 +2364,7 @@ AudioFileWriter::haveRecordFileOpen(InstrumentId id)
}
return (m_files[id].first &&
- (m_files[id].second->getStatus() != RecordableAudioFile::DEFUNCT));
+ (m_files[id].second->gettqStatus() != RecordableAudioFile::DEFUNCT));
}
bool
@@ -2377,7 +2377,7 @@ AudioFileWriter::haveRecordFilesOpen()
for (InstrumentId id = instrumentBase; id < instrumentBase + instrumentCount; ++id) {
if (m_files[id].first &&
- (m_files[id].second->getStatus() != RecordableAudioFile::DEFUNCT)) {
+ (m_files[id].second->gettqStatus() != RecordableAudioFile::DEFUNCT)) {
#ifdef DEBUG_WRITER
std::cerr << "AudioFileWriter::haveRecordFilesOpen: found open record file for instrument " << id << std::endl;
#endif
@@ -2410,7 +2410,7 @@ AudioFileWriter::kick(bool wantLock)
RecordableAudioFile *raf = m_files[id].second;
- if (raf->getStatus() == RecordableAudioFile::DEFUNCT) {
+ if (raf->gettqStatus() == RecordableAudioFile::DEFUNCT) {
#ifdef DEBUG_WRITER
std::cerr << "AudioFileWriter::kick: found defunct file on instrument " << id << std::endl;