allow negative latency

This commit is contained in:
Johannes Pohl 2016-09-15 11:22:08 +02:00
parent d196441f7c
commit 43e3daaf9b
3 changed files with 5 additions and 5 deletions

View file

@ -146,7 +146,7 @@ bool Controller::sendTimeSyncMessage(long after)
}
void Controller::start(const PcmDevice& pcmDevice, const std::string& host, size_t port, size_t latency)
void Controller::start(const PcmDevice& pcmDevice, const std::string& host, size_t port, int latency)
{
pcmDevice_ = pcmDevice;
latency_ = latency;