mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-25 05:57:04 +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
|
@ -224,7 +224,7 @@ void AlsaStream::do_read()
|
|||
tvEncodedChunk_ = std::chrono::steady_clock::now() - duration;
|
||||
}
|
||||
|
||||
onChunkRead(chunk_.get());
|
||||
onChunkRead(*chunk_);
|
||||
|
||||
nextTick_ += duration;
|
||||
auto currentTick = std::chrono::steady_clock::now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue