Explorar el Código

Fix to prevent UpdateMusicStream to run without music playing

pull/5046/head
Maicon Santana hace 3 meses
padre
commit
3320a2c837
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/raudio.c

+ 1
- 0
src/raudio.c Ver fichero

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

Cargando…
Cancelar
Guardar