mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-18 17:07:49 +02:00
Client uses less memory allocations
This commit is contained in:
parent
6999391f43
commit
e9a5a36855
7 changed files with 135 additions and 44 deletions
|
@ -50,6 +50,7 @@ class Controller : public MessageReceiver
|
|||
public:
|
||||
Controller(const std::string& clientId, size_t instance, std::shared_ptr<MetadataAdapter> meta);
|
||||
void start(const PcmDevice& pcmDevice, const std::string& host, size_t port, int latency);
|
||||
void run(const PcmDevice& pcmDevice, const std::string& host, size_t port, int latency);
|
||||
void stop();
|
||||
|
||||
/// Implementation of MessageReceiver.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue