Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflicting types for 'IsAudioDeviceReady' #7

Open
wombatswaffles opened this issue Jul 2, 2021 · 0 comments
Open

conflicting types for 'IsAudioDeviceReady' #7

wombatswaffles opened this issue Jul 2, 2021 · 0 comments

Comments

@wombatswaffles
Copy link

wombatswaffles commented Jul 2, 2021

When building modules, the following errors happen:

/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raudio.c:461:6: error: conflicting types for 'IsAudioDeviceReady'
bool IsAudioDeviceReady(void)
     ^
/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raylib.h:1400:12: note: previous declaration is here
RLAPI bool IsAudioDeviceReady(void);                                  // Check if audio device has been initialized successfully
           ^
/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raudio.c:923:6: error: conflicting types for 'IsSoundPlaying'
bool IsSoundPlaying(Sound sound)
     ^
/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raylib.h:1421:12: note: previous declaration is here
RLAPI bool IsSoundPlaying(Sound sound);                               // Check if a sound is currently playing
           ^
/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raudio.c:1360:6: error: conflicting types for 'IsMusicPlaying'
bool IsMusicPlaying(Music music)
     ^
/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raylib.h:1437:12: note: previous declaration is here
RLAPI bool IsMusicPlaying(Music music);                               // Check if music is playing
           ^
/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raudio.c:1502:6: error: conflicting types for 'IsAudioStreamProcessed'
bool IsAudioStreamProcessed(AudioStream stream)
     ^
/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raylib.h:1448:12: note: previous declaration is here
RLAPI bool IsAudioStreamProcessed(AudioStream stream);                // Check if any audio stream buffers requires refill
           ^
/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raudio.c:1528:6: error: conflicting types for 'IsAudioStreamPlaying'
bool IsAudioStreamPlaying(AudioStream stream)
     ^
/Applications/BlitzMax/mod/ray.mod/lib.mod/raylib/src/raylib.h:1452:12: note: previous declaration is here
RLAPI bool IsAudioStreamPlaying(AudioStream stream); ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant