mm_sync_cancel()

Cancel a synchronization

Synopsis:

#include <mmsync/mmsyncclient.h>
int mm_sync_cancel(mmsync_hdl_t *hdl,
                   unsigned op_id,
                   uint32_t flags)

Arguments:

hdl
The mm-sync connection handle pointer.
op_id
The operation ID of the synchronization to cancel.
flags
Reserved for future use, must be 0.

Library:

mmsyncclient

Description:

Cancel a synchronization. You can do this if a device is no longer of interest or if playback is requested from a device that's being synchronized and that has problems with simultaneous playback and synchronization.

Returns:

0 on success, -1 on failure.