This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Fix to prevent UpdateMusicStream to run without music playing
pull/5046/head
Maicon Santana
1 week ago
parent
f34e240688
commit
3320a2c837
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/raudio.c
+ 1
- 0
src/raudio.c
View File
@ -1871,6 +1871,7 @@ void SeekMusicStream(Music music, float position)
void
UpdateMusicStream
(
Music
music
)
{
if
(
music
.
stream
.
buffer
=
=
NULL
)
return
;
if
(
!
music
.
stream
.
buffer
-
>
playing
)
return
;
ma_mutex_lock
(
&
AUDIO
.
System
.
lock
)
;
Write
Preview
Loading…
Cancel
Save