Browse Source

Fix for #4521

pull/4523/head
veins1 4 weeks ago
committed by GitHub
parent
commit
547638bd99
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/raudio.c

+ 2
- 0
src/raudio.c View File

@ -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);
}

Loading…
Cancel
Save