pouët.net

Ask pouet.net: .mod player with c/c++ source code?

category: code [glöplog]
I'm sorry, I wasn't being entirely clear. With ADPCM samples you can't loop FREELY. IIRC you have to loop back to the beginning of the sample, as ADPCM compression is stateful and would be incorrectly decoded if you just skip the position.
added on the 2011-01-27 01:14:18 by kusma kusma
Actually, checking further this is not the case. The DS stores away the ADPCM-state when it reaches the loop-point, so any loop-position is OK as long as it's 16 bit aligned, and it isn't changed while the sample is playing. So it might work better than I thought, sorry for the noise ;)
added on the 2011-01-27 01:48:25 by kusma kusma
Hey guys, wassup! Great thread and really thankful for the source KB!
Could someone explain/point me at some resources to show what the dsinit and dsclose functions would look like for the tinymod player? Much thanks!
added on the 2011-08-11 22:33:59 by Bobo Bobo

login