Mercurial > hg > svapp
diff audio/AudioRecordTarget.h @ 485:21d3cf5c8f21 tony-2.0-integration
Add status bar "Recording" message and timer while recording
author | Chris Cannam |
---|---|
date | Wed, 16 Sep 2015 12:04:26 +0100 |
parents | 493f2af85497 |
children | d1c70c680fa9 cd9dec2f47e8 |
line wrap: on
line diff
--- a/audio/AudioRecordTarget.h Tue Sep 15 16:38:09 2015 +0100 +++ b/audio/AudioRecordTarget.h Wed Sep 16 12:04:26 2015 +0100 @@ -59,6 +59,7 @@ signals: void recordStatusChanged(bool recording); + void recordDurationChanged(sv_frame_t, sv_samplerate_t); // emitted occasionally protected slots: void modelAboutToBeDeleted(); @@ -68,6 +69,7 @@ std::string m_clientName; bool m_recording; sv_samplerate_t m_recordSampleRate; + sv_frame_t m_frameCount; QString m_audioFileName; WritableWaveFileModel *m_model; QMutex m_mutex;