mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
Add mutex to atomize start and setting of sample rate
This commit is contained in:
parent
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user