mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-01 23:59:43 +02:00
allow negative latency
This commit is contained in:
parent
d196441f7c
commit
43e3daaf9b
3 changed files with 5 additions and 5 deletions
|
@ -46,7 +46,7 @@ class Controller : public MessageReceiver
|
|||
{
|
||||
public:
|
||||
Controller();
|
||||
void start(const PcmDevice& pcmDevice, const std::string& host, size_t port, size_t latency);
|
||||
void start(const PcmDevice& pcmDevice, const std::string& host, size_t port, int latency);
|
||||
void stop();
|
||||
|
||||
/// Implementation of MessageReceiver.
|
||||
|
@ -64,7 +64,7 @@ private:
|
|||
std::thread controllerThread_;
|
||||
SampleFormat sampleFormat_;
|
||||
PcmDevice pcmDevice_;
|
||||
size_t latency_;
|
||||
int latency_;
|
||||
std::unique_ptr<ClientConnection> clientConnection_;
|
||||
std::unique_ptr<Stream> stream_;
|
||||
std::unique_ptr<Decoder> decoder_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue