GP2X Porting A Winamp Plugin


PokeParadox

Founder of Pirate Games - Penjin Coder
Staff member
Joined
Dec 8, 2005
Messages
6,603
Age
38
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...
 

PokeParadox

Founder of Pirate Games - Penjin Coder
Staff member
Joined
Dec 8, 2005
Messages
6,603
Age
38
Location
UK
Website
pokeparadox.itch.io
WEBSITE
https://github.com/pokeparadox
YOUTUBE
pokeparadox
That doc is interesting, I'm not sure if that's what I wanted to know, but it might be something to consider...

I'm going to see if I can find some code to hack about with I guess.

If anyone else has any tips for me about sound, please reply. :)
 
Top