mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-02 16:19:09 +02:00
server buffer
git-svn-id: svn://elaine/murooma/trunk@296 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
35fead6ac0
commit
6354d55f78
5 changed files with 17 additions and 16 deletions
|
@ -13,7 +13,7 @@ class Controller : public MessageReceiver
|
|||
{
|
||||
public:
|
||||
Controller();
|
||||
void start(const std::string& _ip, size_t _port, int _bufferMs);
|
||||
void start(const std::string& _ip, size_t _port);
|
||||
void stop();
|
||||
virtual void onMessageReceived(ClientConnection* connection, const BaseMessage& baseMessage, char* buffer);
|
||||
virtual void onException(ClientConnection* connection, const std::exception& exception);
|
||||
|
@ -24,7 +24,6 @@ private:
|
|||
std::thread* controllerThread;
|
||||
ClientConnection* clientConnection;
|
||||
Stream* stream;
|
||||
int bufferMs;
|
||||
std::string ip;
|
||||
std::shared_ptr<SampleFormat> sampleFormat;
|
||||
Decoder* decoder;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue