summaryrefslogtreecommitdiffstats
path: root/src/sound/RecordableAudioFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/RecordableAudioFile.h')
-rw-r--r--src/sound/RecordableAudioFile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sound/RecordableAudioFile.h b/src/sound/RecordableAudioFile.h
index 886b07c..06df6f0 100644
--- a/src/sound/RecordableAudioFile.h
+++ b/src/sound/RecordableAudioFile.h
@@ -44,21 +44,21 @@ public:
IDLE,
RECORDING,
DEFUNCT
- } RecordtqStatus;
+ } RecordStatus;
RecordableAudioFile(AudioFile *audioFile, // should be already open for writing
size_t bufferSize);
~RecordableAudioFile();
- void settqStatus(const RecordtqStatus &status) { m_status = status; }
- RecordtqStatus gettqStatus() const { return m_status; }
+ void setStatus(const RecordStatus &status) { m_status = status; }
+ RecordStatus getStatus() const { return m_status; }
size_t buffer(const sample_t *data, int channel, size_t frames);
void write();
protected:
AudioFile *m_audioFile;
- RecordtqStatus m_status;
+ RecordStatus m_status;
std::vector<RingBuffer<sample_t> *> m_ringBuffers; // one per channel
};