mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-25 20:38:55 +02:00
callback based encoding
This commit is contained in:
parent
b936bffeff
commit
c0057d2575
9 changed files with 193 additions and 75 deletions
|
@ -24,8 +24,9 @@
|
|||
class PcmEncoder : public Encoder
|
||||
{
|
||||
public:
|
||||
PcmEncoder();
|
||||
virtual double encode(msg::PcmChunk* chunk);
|
||||
PcmEncoder(const std::string& codecOptions = "");
|
||||
virtual void encode(const msg::PcmChunk* chunk);
|
||||
virtual std::string name() const;
|
||||
|
||||
protected:
|
||||
virtual void initEncoder();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue