mme_getautopause()

Get the autopause mode set for a control context

Synopsis:

#include <mme/mme.h>

int mme_getautopause( mme_hdl_t *hdl);

Arguments:

hdl
An MME connection handle.

Library:

mme

Description:

The function mme_getautopause() returns the autopause mode for a control context. It returns 1 if autopause is enabled, 0 if it isn't enabled. For a description of autopause mode, see mme_setautopause().

Events

None delivered

Blocking and validation

This function doesn't block.

Returns:

0
Success:
1
Autopause mode is set.
0
Autopause mode is not set.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_next(), mme_play(), mme_prev(), mme_setautopause()