The only way i can describe this is showing the code I have already then trying to explain what i want to do..
I am developing an iPad application in which I will be displaying weather information for location entered by the user. I am using Weather channel API for this.
I have a code engine that plays long WAV files by playing smaller chunks in succession using the waveOutOpen and waveOutWrite API methods.In order to update my UI as the file plays, from the callback