summaryrefslogtreecommitdiffstats
path: root/src/sound/RecordableAudioFile.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:14:51 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:14:51 -0600
commitef13416bfc43e51ef4e20919e0fab81ae05e0fe2 (patch)
tree76bc36e1cbecae4d7811b5605adfb0804d0041f9 /src/sound/RecordableAudioFile.h
parent6ca08e7a881c0c97f338e0085f75af04ec08ad04 (diff)
downloadrosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.tar.gz
rosegarden-ef13416bfc43e51ef4e20919e0fab81ae05e0fe2.zip
Rename old tq methods that no longer need a unique name
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
};