this should work
This commit is contained in:
parent
299ae7a4bd
commit
f707c1ca46
2 changed files with 4 additions and 3 deletions
|
@ -820,7 +820,7 @@ void UpdateMusicStream(void)
|
||||||
// Add refilled buffer to queue again... don't let the music stop!
|
// Add refilled buffer to queue again... don't let the music stop!
|
||||||
alSourceQueueBuffers(currentMusic.source, 1, &buffer);
|
alSourceQueueBuffers(currentMusic.source, 1, &buffer);
|
||||||
|
|
||||||
if (alGetError() != AL_NO_ERROR) TraceLog(WARNING, "Ogg playing, error buffering data...");
|
if (alGetError() != AL_NO_ERROR) TraceLog(WARNING, "Error buffering data...");
|
||||||
|
|
||||||
processed--;
|
processed--;
|
||||||
}
|
}
|
||||||
|
|
|
@ -261,8 +261,9 @@
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
// Boolean type
|
// Boolean type
|
||||||
#include <stdbool.h>
|
#ifndef true
|
||||||
//typedef enum { false, true } bool;
|
typedef enum { false, true } bool;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// byte type
|
// byte type
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue