Skip to content

Commit

Permalink
Fix for #4521 (#4523)
Browse files Browse the repository at this point in the history
  • Loading branch information
veins1 authored Nov 20, 2024
1 parent 415a989 commit 11429b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/raudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1855,6 +1855,8 @@ void SeekMusicStream(Music music, float position)

ma_mutex_lock(&AUDIO.System.lock);
music.stream.buffer->framesProcessed = positionInFrames;
music.stream.buffer->isSubBufferProcessed[0] = true;
music.stream.buffer->isSubBufferProcessed[1] = true;
ma_mutex_unlock(&AUDIO.System.lock);
}

Expand Down

0 comments on commit 11429b4

Please sign in to comment.