mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +02:00
Subtract chunk duration from initial chunk timestamp
This brings it into line with all other StreamReaders.
This commit is contained in:
parent
642612782c
commit
445a7a2e7c
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ int JackStream::readJackBuffers(jack_nframes_t nframes)
|
|||
if (first_)
|
||||
{
|
||||
first_ = false;
|
||||
tvEncodedChunk_ = std::chrono::steady_clock::now();
|
||||
tvEncodedChunk_ = std::chrono::steady_clock::now() - chunk_->duration<chrono::nanoseconds>();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue