mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-19 20:16:15 +02:00
Code cleanup
This commit is contained in:
parent
a75e4857e6
commit
cd9f785425
7 changed files with 9 additions and 34 deletions
|
@ -266,7 +266,7 @@ int main(int argc, char* argv[])
|
|||
settings.stream.bufferMs = 400;
|
||||
}
|
||||
|
||||
std::unique_ptr<StreamServer> streamServer(new StreamServer(io_context, settings));
|
||||
auto streamServer = std::make_unique<StreamServer>(io_context, settings);
|
||||
streamServer->start();
|
||||
|
||||
if (num_threads < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue