Windows Api For Audio And Midi Syncro

Hi guys,

My name is Marc and I’m working on a handheld tracker called LittleGPTracker, a sample based version of LittleSoundDJ running on GP2X and some more classic operating system. I’m writing because I’m desperatly looking for informations on how to properly sync midi and audio under windows. All my attempts to code something like this failed and I’ve been working the google machine plenty of times with no success.

So I thought you guys must have that and would be nice enough to share it with other people.

Hope I’m right :)
Thanks for any pointers