summaryrefslogtreecommitdiffstats
path: root/src/sound/RecordableAudioFile.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/sound/RecordableAudioFile.h
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
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
};