mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-09 03:16:27 +00:00
IsAudioBufferPlaying() replace ERROR by WARNING
This commit is contained in:
@@ -662,7 +662,7 @@ bool IsAudioBufferPlaying(AudioBuffer *buffer)
|
|||||||
bool result = false;
|
bool result = false;
|
||||||
|
|
||||||
if (buffer != NULL) result = (buffer->playing && !buffer->paused);
|
if (buffer != NULL) result = (buffer->playing && !buffer->paused);
|
||||||
else TraceLog(LOG_ERROR, "IsAudioBufferPlaying() : No audio buffer");
|
else TraceLog(LOG_WARNING, "IsAudioBufferPlaying() : No audio buffer");
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user