![]() |
![]() |
![]() |
![]() |
Seek to a time in a playing track
#include <mme/mme.h> int mme_seektotime( mme_hdl_t *hdl, int time );
mme
The function mme_seektotime() seeks to a specific time (expressed in milliseconds from the start of the track) in the current track. The track must be playing for the seek to work.
If time is greater than the total time for the currently playing track, behavior varies, depending on the media, as follows:
None delivered.
This function blocks on control contexts. If mme_seektotime() is called and another function is called before mme_seektotime() returns, the second function blocks on io-media until mme_seektotime() returns. If there are no other pending calls, mme_seektotime() returns without blocking on io-media.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
mme_connect(), mme_next(), mme_play()
![]() |
![]() |
![]() |
![]() |