int mmr_stop( mmr_context_t *ctxt )
- A context handle.
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() 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.
Zero on success, -1 on failure (use mmr_error_info()).