Skip to content

Commit

Permalink
fix bug in FutureAudioSource
Browse files Browse the repository at this point in the history
  • Loading branch information
CrSjimo committed Oct 15, 2024
1 parent 4307b8a commit b296d94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/source/FutureAudioSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ namespace talcs {
if (status == FutureAudioSource::Ready) {
src = futureWatcher->result();
if (q->isOpen()) {
Q_ASSERT(src->open(q->bufferSize(), q->sampleRate()));
auto result = src->open(q->bufferSize(), q->sampleRate());
Q_ASSERT(result);
src->setNextReadPosition(position);
}
}
Expand Down

0 comments on commit b296d94

Please sign in to comment.