mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-31 18:06:15 +02:00
new messaging
git-svn-id: svn://elaine/murooma/trunk@229 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
c6ee0960fd
commit
a519d0f0dd
9 changed files with 96 additions and 62 deletions
|
@ -1,6 +1,6 @@
|
|||
#ifndef ENCODER_H
|
||||
#define ENCODER_H
|
||||
#include "common/chunk.h"
|
||||
#include "common/message.h"
|
||||
#include "common/sampleFormat.h"
|
||||
|
||||
|
||||
|
@ -11,8 +11,8 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
virtual double encode(Chunk* chunk) = 0;
|
||||
virtual WireChunk* getHeader()
|
||||
virtual double encode(PcmChunk* chunk) = 0;
|
||||
virtual HeaderMessage* getHeader()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue