hey im a beginner i havn't braved the apis yet, would you recomend it? is it like learning c++ let me know how you get on if you could, i will be on sdl soon, maybe can compare practice codes ?
Hello. I just ran your code with one of my music files and everything works just fine. The problem might be your samlple.wav isn't being recognized by the compiler. In which case, you can put the wav file in the same directory as your .exe.
@ devonrevenge
I'm a beginner also with SDL. From my experience, I can say it is a lot easier than learning c++. It just takes time getting familiar with the syntax. I guess i'd recommend it based on the fact that there are plenty of tuts out there on learning the basics and it's not really hard.