0
0

In my project i would like to use Apple Quicktime for decoding MP3/AAC files. When song is opened it starts decoding it in the background.

The decoding returns packets of PCM data of 2 seconds each. What is the best way to playback them in realtime? I mean to play 2 seconds then play the next 2 seconds and so forth..

  • You must to post comments
0
0

you should probably create a pcm buffer of 2 seconds length, then create a custom stream, and feed data out of your pcm buffer into the fmod read callback. there is an example called createusersound which shows how to make your own sound.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.