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.
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.