mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-03 03:11:43 +02:00
refactoring
git-svn-id: svn://elaine/murooma/trunk@328 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
611b2a6c9f
commit
c40bfda64c
35 changed files with 192 additions and 178 deletions
|
@ -16,7 +16,7 @@ public:
|
|||
Controller();
|
||||
void start(const PcmDevice& pcmDevice, const std::string& _ip, size_t _port, size_t latency);
|
||||
void stop();
|
||||
virtual void onMessageReceived(ClientConnection* connection, const BaseMessage& baseMessage, char* buffer);
|
||||
virtual void onMessageReceived(ClientConnection* connection, const msg::BaseMessage& baseMessage, char* buffer);
|
||||
virtual void onException(ClientConnection* connection, const std::exception& exception);
|
||||
|
||||
private:
|
||||
|
@ -26,7 +26,7 @@ private:
|
|||
ClientConnection* clientConnection;
|
||||
Stream* stream;
|
||||
std::string ip;
|
||||
std::shared_ptr<SampleFormat> sampleFormat;
|
||||
std::shared_ptr<msg::SampleFormat> sampleFormat;
|
||||
Decoder* decoder;
|
||||
PcmDevice pcmDevice_;
|
||||
size_t latency_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue