mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-03 05:37:50 -04:00
UDP source: fixed audio port assignment in configuration message handler
This commit is contained in:
parent
ddd5ec5dc8
commit
70d4088fa6
@ -291,6 +291,8 @@ bool UDPSrc::handleMessage(const Message& cmd)
|
|||||||
|
|
||||||
if (cfg.getAudioPort() != m_audioPort)
|
if (cfg.getAudioPort() != m_audioPort)
|
||||||
{
|
{
|
||||||
|
m_audioPort = cfg.getAudioPort();
|
||||||
|
|
||||||
disconnect(m_audioSocket, SIGNAL(readyRead()), this, SLOT(audioReadyRead()));
|
disconnect(m_audioSocket, SIGNAL(readyRead()), this, SLOT(audioReadyRead()));
|
||||||
delete m_audioSocket;
|
delete m_audioSocket;
|
||||||
m_audioSocket = new QUdpSocket(this);
|
m_audioSocket = new QUdpSocket(this);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user