- Joined
- Dec 8, 2005
- Messages
- 6,603
- Age
- 40
- Location
- UK
- Website
- pokeparadox.itch.io
- WEBSITE
- https://github.com/pokeparadox
- YOUTUBE
- pokeparadox
Well I'm (attempting) porting in_cube to the GP2X and building a player around it. I already have the code compiling, but what I'm wondering is the best way to play the decoded audio?
Basically the plugin has functions to decode the audio and returns the decoded samples and a number to specify the number of decoded samples.
My current idea is to use Ryleh's minimal lib to get a simple PoC going... I'm just unsure how the gp2x_sound_frame() function actually works...
Things I need to know really is, when and how often it is called...
And what sort of thing I need to be doing in this function.
Please give me some guidance.
EDIT: added in_cube's url...
Basically the plugin has functions to decode the audio and returns the decoded samples and a number to specify the number of decoded samples.
My current idea is to use Ryleh's minimal lib to get a simple PoC going... I'm just unsure how the gp2x_sound_frame() function actually works...
Things I need to know really is, when and how often it is called...
And what sort of thing I need to be doing in this function.
Please give me some guidance.
EDIT: added in_cube's url...