kopia lustrzana https://gitlab.com/eliggett/wfview
trying to find the cause of server audio issue
rodzic
5a92c071d1
commit
e00fa26229
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue