Fast play/pause mp3 sample playback problem
Fast play/pause mp3 sample playback problem
- Subject: Fast play/pause mp3 sample playback problem
- From: Dodo <email@hidden>
- Date: Sat, 28 Jun 2014 06:45:39 +0200
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 mp3 sample 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.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden