trying to find the cause of server audio issue

monitor
Phil Taylor 2022-01-13 11:17:13 +00:00
rodzic 5a92c071d1
commit e00fa26229
2 zmienionych plików z 10 dodań i 3 usunięć

Wyświetl plik

@ -60,6 +60,13 @@ void udpServer::init()
udpAudio->bind(config.audioPort);
QUdpSocket::connect(udpAudio, &QUdpSocket::readyRead, this, &udpServer::audioReceived);
#if !defined(PORTAUDIO) && !defined(RTAUDIO)
qInfo(logUdpServer()) << "Server audio input:" << inAudio.port.deviceName();
qInfo(logUdpServer()) << "Server audio output:" << outAudio.port.deviceName();
#else
qInfo(logUdpServer()) << "Server audio input:" << inAudio.name;
qInfo(logUdpServer()) << "Server audio output:" << outAudio.name;
#endif
wdTimer = new QTimer();
connect(wdTimer, &QTimer::timeout, this, &udpServer::watchdog);
wdTimer->start(500);

Wyświetl plik

@ -1135,8 +1135,8 @@ void wfmain::setAudioDevicesUI()
// Set these to default audio devices initially.
rxSetup.port = QAudioDeviceInfo::defaultOutputDevice();
txSetup.port = QAudioDeviceInfo::defaultInputDevice();
serverRxSetup.port = QAudioDeviceInfo::defaultOutputDevice();
serverTxSetup.port = QAudioDeviceInfo::defaultInputDevice();
serverRxSetup.port = QAudioDeviceInfo::defaultInputDevice();
serverTxSetup.port = QAudioDeviceInfo::defaultOutputDevice();
#endif
}