Unverified Commit 4de1b573 authored by Aaron Wyatt's avatar Aaron Wyatt Committed by GitHub
Browse files

Add files via upload

Make sure sane defaults are set for the underrun mode and queue length in the constructor. Ensure queue length is properly passed to the UdpMasterListener. (Was accidentally dependent on -z being set.)
parent b0d1811c
......@@ -422,8 +422,8 @@ void Settings::startJackTrip()
cout << "Setting buffers to zero when underrun..." << endl;
cout << gPrintSeparator << std::endl;
udpmaster->setUnderRunMode(JackTrip::ZEROS);
udpmaster->setBufferQueueLength(mBufferQueueLength);
}
udpmaster->setBufferQueueLength(mBufferQueueLength);
udpmaster->start();
//---Thread Pool Test--------------------------------------------
......
......@@ -84,6 +84,9 @@ UdpMasterListener::UdpMasterListener(int server_port) :
// SoundWIRE ports open are UDP 61000-62000
mBasePort = 61000;
mUnderRunMode = JackTrip::WAVETABLE;
mBufferQueueLength = gDefaultQueueLength;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment