[CORE] Fix Warnings (#2582)
* Fix raymath warning with floor to floorf * signed unsigned missmatches
This commit is contained in:
parent
0f7c4f762f
commit
e9029d3d00
3 changed files with 9 additions and 9 deletions
|
@ -1733,8 +1733,8 @@ void UpdateMusicStream(Music music)
|
|||
AUDIO.System.pcmBufferSize = pcmSize;
|
||||
}
|
||||
|
||||
int framesLeft = music.frameCount - music.stream.buffer->framesProcessed; // Frames left to be processed
|
||||
int framesToStream = 0; // Total frames to be streamed
|
||||
unsigned int framesLeft = music.frameCount - music.stream.buffer->framesProcessed; // Frames left to be processed
|
||||
unsigned int framesToStream = 0; // Total frames to be streamed
|
||||
unsigned int framesLoopingExtra = 0; // In case music requires to loop, we could need to add more frames from beginning to fill buffer
|
||||
|
||||
// Check both sub-buffers to check if they require refilling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue