Yeah, I saw, thanks.
A silly question, maybe, I’ve seen that Mix_LoadWAV and Mix_PlayChannel in SDL.Mixer are not implemented. The SDL docs say that they were macros before but they have been promoted to proper API functions. Is it worth giving them a new biding? I was able to complete the sound effects and music tutorial with what is already implemented. I assume you made it when they were still macros.
I didn’t create the mixer bindings, someone else did. But yeah, that’s likely why they weren’t bound.
Oh, I see. I thought you were the original author. Well, what is there works fine so I’ll just a make a note and if I have the time, I’ll use it as an exercise. Thanks.
I am of SDLAda, but someone else wrote the mixer part based on SDLAda and submitted it.
Definitely, feel free to add them and send a PR, to the mixer project ![]()
I’ve just checked where you are in the lazyfoo tutorial, did you do the rumble stuff because that’s missing too?
Yes, I skipped it, I have nothing to try it with ![]()
Hi again Luke,
I finally got around to doing the timer tutorials on Lazyfoo. The frame calculation in the original just does an average on the total frame count since the program starts, so I wanted to go one step further and I’ve added an “improved_frame_calculating” project that does a better job, if you’d like to have a look. It takes a number of samples and averages them out, the number of samples can be changed to average for more or less time. I’ve tried to make it as Ada-like as possible. As always comments are very welcome.
https://github.com/alexispaez/sdl_tutorial.git
Best regards,
Alexis.