You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: /Users/SomeGuysAccount/Documents/Development/Julia/SDL_Beeper/audio_example/beat.wav not found.
but if I insert the first three lines below...
if isfile("$aud_files/beat.wav")
println("FOUND beat.wave AUDIO FILE!!!!!!!!!!!")
end
music = Mix_LoadMUS("$aud_files/beat.wav")
if (music == C_NULL)
println(">>>", unsafe_string(SDL_GetError() ) )
error("$aud_files/beat.wav not found.")
end
It prints FOUND beat.wave AUDIO FILE!!!!!!!!!!!, yet in the debugger, it shows the variable music as having a NULL pointer. In addition, I can successfully play the beat.wav file in the Finder, but when I print the SDL_GetError, I get Unrecognized audio format.
The text was updated successfully, but these errors were encountered:
It gives me the following error:
ERROR: /Users/SomeGuysAccount/Documents/Development/Julia/SDL_Beeper/audio_example/beat.wav not found.
but if I insert the first three lines below...
It prints
FOUND beat.wave AUDIO FILE!!!!!!!!!!!
, yet in the debugger, it shows the variable music as having a NULL pointer. In addition, I can successfully play thebeat.wav
file in the Finder, but when I print the SDL_GetError, I getUnrecognized audio format
.The text was updated successfully, but these errors were encountered: