Skip to content

Commit

Permalink
Merge branch 'ndi'
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Jan 18, 2024
2 parents a3e4d08 + 9c03342 commit 87654b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/tlIO/NDIRead.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,10 +500,8 @@ namespace tl
p.audioMutex.currentRequest->options);
if (_cache->getAudio(cacheKey, audioData))
{
const auto& timeRange = p.audioMutex.currentRequest->timeRange;
p.audioMutex.currentRequest->promise.set_value(audioData);
p.audioThread.currentTime = timeRange.start_time() +
timeRange.duration();
p.audioThread.currentTime += p.audioMutex.currentRequest->timeRange.duration();
p.audioMutex.currentRequest.reset();
}
}
Expand Down

0 comments on commit 87654b6

Please sign in to comment.