mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-21 13:06:15 +02:00
Rename onChunkRead to onNewChunk
This commit is contained in:
parent
01ce9a60c0
commit
ed0521a1d2
7 changed files with 16 additions and 5 deletions
|
@ -197,7 +197,7 @@ void AsioStream<ReadStream>::do_read()
|
|||
nextTick_ = std::chrono::steady_clock::now();
|
||||
}
|
||||
|
||||
encoder_->encode(chunk_.get());
|
||||
onChunkRead(chunk_.get());
|
||||
nextTick_ += chunk_->duration<std::chrono::nanoseconds>();
|
||||
auto currentTick = std::chrono::steady_clock::now();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue