refactoring

git-svn-id: svn://elaine/murooma/trunk@328 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-12-29 12:34:33 +00:00
parent 611b2a6c9f
commit c40bfda64c
35 changed files with 192 additions and 178 deletions

View file

@ -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_;