mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 11:28:17 +00:00
@@ -1855,6 +1855,8 @@ void SeekMusicStream(Music music, float position)
|
|||||||
|
|
||||||
ma_mutex_lock(&AUDIO.System.lock);
|
ma_mutex_lock(&AUDIO.System.lock);
|
||||||
music.stream.buffer->framesProcessed = positionInFrames;
|
music.stream.buffer->framesProcessed = positionInFrames;
|
||||||
|
music.stream.buffer->isSubBufferProcessed[0] = true;
|
||||||
|
music.stream.buffer->isSubBufferProcessed[1] = true;
|
||||||
ma_mutex_unlock(&AUDIO.System.lock);
|
ma_mutex_unlock(&AUDIO.System.lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user