mme_getrepeat()

Get the repeat playback mode for a control context

Synopsis:

#include <mme/mme.h>

int mme_getrepeat( mme_hdl_t *hdl );

Arguments:

hdl
An MME connection handle.

Library:

mme

Description:

The function mme_getrepeat() returns the repeat mode for the specified control context. On success, it returns the control context's repeat mode.

See mme_mode_repeat_t for a description of these modes.

Events

None delivered.

Blocking and validation

Full validation of data; all arguments are checked before the call returns.

This function blocks on control contexts. If mme_getrepeat() is called and another function is called before mme_getrepeat() returns, the second function blocks on io-media until mme_getrepeat() returns. If there are no other pending calls, mme_getrepeat() returns without blocking on io-media.

Returns:

0
Success: the repeat playback mode for the control context.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_getrandom(), mme_getscanmode() mme_setrandom() mme_setrepeat(), mme_mode_random_t, mme_mode_repeat_t