Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MmPause()

Pause a multimedia graph

Synopsis:

int32_t MmPause(MmGraph_t *graph);

Arguments:

graph
A pointer to a graph.

Library:

mmedia

Description:

This function temporarily pauses graph by calling the MediaControl->Pause() function for each filter in the graph.

Returns:

0
Success.
-1
An error occurred.

Examples:

  // Assuming the given graph is created, hooked up,
  // and started, and we want to pause it:

  MmPause(graph);

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmResume(), MmSeek()