mmr_input_detach()

Updated: April 19, 2023

Detach the input

Synopsis:

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

Arguments:

ctxt
A handle to the context from which the input is being detached

Library:

mmrndclient

Description:

Detach the input. If the context is playing, mm-renderer stops playback first. If there is no input already, this is a no-op.

Returns:

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