mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-04-09 05:01:28 -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)
|
||||
{
|
||||
m_audioPort = cfg.getAudioPort();
|
||||
|
||||
disconnect(m_audioSocket, SIGNAL(readyRead()), this, SLOT(audioReadyRead()));
|
||||
delete m_audioSocket;
|
||||
m_audioSocket = new QUdpSocket(this);
|
||||
|
Loading…
Reference in New Issue
Block a user