mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-11 08:06:41 +02:00
Replace some pointers with references
This commit is contained in:
parent
dde63f9dd8
commit
dec7306a84
17 changed files with 77 additions and 67 deletions
|
@ -145,7 +145,7 @@ void PcmStream::onChunkEncoded(const encoder::Encoder* /*encoder*/, std::shared_
|
|||
}
|
||||
|
||||
|
||||
void PcmStream::onChunkRead(const msg::PcmChunk* chunk)
|
||||
void PcmStream::onChunkRead(const msg::PcmChunk& chunk)
|
||||
{
|
||||
encoder_->encode(chunk);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue