mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Fix gcc warning
This commit is contained in:
parent
80fe6cb096
commit
14710596be
@ -174,7 +174,7 @@ bool WavFileRecord::handleMessage(const Message& message)
|
|||||||
DSPSignalNotification& notif = (DSPSignalNotification&) message;
|
DSPSignalNotification& notif = (DSPSignalNotification&) message;
|
||||||
|
|
||||||
int sampleRate = notif.getSampleRate();
|
int sampleRate = notif.getSampleRate();
|
||||||
if ((sampleRate != m_sampleRate) && m_recordOn) {
|
if ((sampleRate != (int)m_sampleRate) && m_recordOn) {
|
||||||
qDebug() << "WavFileRecord::handleMessage: sample rate has changed. Creating a new .wav file";
|
qDebug() << "WavFileRecord::handleMessage: sample rate has changed. Creating a new .wav file";
|
||||||
stopRecording();
|
stopRecording();
|
||||||
m_recordOn = true;
|
m_recordOn = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user