kopia lustrzana https://github.com/f4exb/sdrangel
Add mutex to atomize start and setting of sample rate
rodzic
f6b3512951
commit
1197e43c47
|
@ -156,6 +156,7 @@ bool FileRecord::handleMessage(const Message& message)
|
||||||
{
|
{
|
||||||
if (DSPSignalNotification::match(message))
|
if (DSPSignalNotification::match(message))
|
||||||
{
|
{
|
||||||
|
QMutexLocker mutexLocker(&m_mutex);
|
||||||
DSPSignalNotification& notif = (DSPSignalNotification&) message;
|
DSPSignalNotification& notif = (DSPSignalNotification&) message;
|
||||||
quint32 sampleRate = notif.getSampleRate();
|
quint32 sampleRate = notif.getSampleRate();
|
||||||
qint64 centerFrequency = notif.getCenterFrequency();
|
qint64 centerFrequency = notif.getCenterFrequency();
|
||||||
|
|
Ładowanie…
Reference in New Issue