-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
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...
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
.
Metadata
Metadata
Assignees
Labels
No labels