mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-11 16:16:42 +02:00
Add meta stream source
This commit is contained in:
parent
f1e672d375
commit
27a9e710a2
20 changed files with 367 additions and 64 deletions
|
@ -51,7 +51,7 @@ void PcmEncoder::encode(const msg::PcmChunk& chunk)
|
|||
{
|
||||
// copy the chunk into a shared_ptr
|
||||
auto pcmChunk = std::make_shared<msg::PcmChunk>(chunk);
|
||||
listener_->onChunkEncoded(this, pcmChunk, pcmChunk->durationMs());
|
||||
encoded_callback_(*this, pcmChunk, pcmChunk->durationMs());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue