mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 23:16:14 +02:00
v0.2.96
This commit is contained in:
parent
239e93de43
commit
94e6511e56
3 changed files with 9 additions and 9 deletions
|
@ -155,13 +155,13 @@ int main (int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
Controller controller;
|
||||
std::unique_ptr<Controller> controller(new Controller());
|
||||
if (!g_terminated)
|
||||
{
|
||||
controller.start(pcmDevice, ip, port, latency);
|
||||
controller->start(pcmDevice, ip, port, latency);
|
||||
while(!g_terminated)
|
||||
usleep(100*1000);
|
||||
controller.stop();
|
||||
controller->stop();
|
||||
}
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue