Very nice talk. And as others said: Busy wait, yikes, but in game audio they probably make sense. Would be nice to know how hardware acceleration comes in to play (EAX, openAI).
In the sense of "keeping simple things simple" and as a beginner I would like to have some sort of a 3-liner, that does everything from loading to playing a sound.
It would be pretty simple to wrap that into a class with following methods: "constructor"() init() load() and play() with whatever necessary arguments.
Nice slides, this is how it should be. Thanks for uploading !
Great video. The Richard Scarry book was a nice touch.
Very nice talk. And as others said: Busy wait, yikes, but in game audio they probably make sense. Would be nice to know how hardware acceleration comes in to play (EAX, openAI).
I think the standard has something to say about audio: printf('\a')
What's the other option for cresting a beep?
In the sense of "keeping simple things simple" and as a beginner I would like to have some sort of a 3-liner, that does everything from loading to playing a sound.
It would be pretty simple to wrap that into a class with following methods: "constructor"() init() load() and play() with whatever necessary arguments.
Those busy waits... yikes!
Oh well, it’s just the one core. The other cores would happily feed the graphics card or calculate player AI, I hope. :-)