mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
KiwiSDR: fixed issue in local network. Fixes #435
This commit is contained in:
parent
c5a36c48a0
commit
3567468023
@ -86,8 +86,7 @@ void KiwiSDRWorker::onBinaryMessageReceived(const QByteArray &message)
|
|||||||
if (message[0] == 'M' && message[1] == 'S' && message[2] == 'G')
|
if (message[0] == 'M' && message[1] == 'S' && message[2] == 'G')
|
||||||
{
|
{
|
||||||
QStringList al = QString::fromUtf8(message).split(' ');
|
QStringList al = QString::fromUtf8(message).split(' ');
|
||||||
if (al[1] == "audio_init=0" &&
|
if (al.size() > 2 && al[2] == "audio_rate=12000")
|
||||||
al[2] == "audio_rate=12000")
|
|
||||||
{
|
{
|
||||||
m_webSocket.sendTextMessage("SET AR OK in=12000 out=48000");
|
m_webSocket.sendTextMessage("SET AR OK in=12000 out=48000");
|
||||||
m_webSocket.sendTextMessage("SERVER DE CLIENT KiwiAngel SND");
|
m_webSocket.sendTextMessage("SERVER DE CLIENT KiwiAngel SND");
|
||||||
|
Loading…
Reference in New Issue
Block a user