Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dodosan

macrumors newbie
Original poster
Hi everybody,

I'm writing an applcation for OSX (both mountain lion and Mavericks) that needs to allow the user to play/pause very quickly and many times the user.
I'm getting the following problems:

on a sample mp3 playback of 17 secs, when I play/pause there isn't any problem except when I'm reaching the end. If I play/pause during the last second (so, after 16 secs) the playback gets muted and the current position time of the file gets a wrong value (0.xxx).
I really can't figure out any solution.

Can anybody help me?

Cheers

Dodo

P.S. I'm using gnu c++ compiler and AudioQueueStart and AudioQueuePause to play and pause the sample playback.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.