mmr_stop()

Stop playing.

Synopsis:

#include <mm/renderer.h>
int mmr_stop( mmr_context_t *ctxt )

Arguments:

ctxt
A context handle.

Library:

mmrndclient

Description:

Stop playing. A no-op if already stopped. Depending on the input media, stopping the playback may cause the playing position to change or even become indeterminate. Unless you know the behavior of the media being played, use the function mmr_seek.html to seek to a known position before restarting the playback.

When playback is explicitly stopped using mmr_stop(), mm-renderer doesn't publish an error code. When the end of media is reached, the error code is set to MMR_ERROR_NONE.

Returns:

Zero on success, -1 on failure (use mmr_error_info()).

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes