![]() |
![]() |
![]() |
![]() |
Gets playback speed and direction (forward, reverse, pause) for tracks
#include <mme/mme.h> int mme_play_get_speed( mme_hdl_t *hdl, int *speed );
mme
The function mme_play_get_speed() gets the playback speed for the current track or file.
The playback speed is expressed in units of 1/1000 of normal speed: 1000 means normal speed, 2000 means double speed, etc. Positive values mean forward, negative values mean reverse, and zero means pause. Values between 0 and 1000 are slow speed playback.
![]() |
iPods do not report their current playback speed. Queries for their playback speed always return a nominal 1000, but this value should not be considered accurate. |
None delivered.
This function validates all data, and doesn't block.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
mme_play(), mme_play_get_info(), mme_play_get_status(), mme_play_set_speed()
![]() |
![]() |
![]() |
![]() |