mediaSourcePlayPause method

void mediaSourcePlayPause(
  1. DivePointer source,
  2. bool pause
)

Media Controls TODO: implement signals from media source: obs_source_get_signal_handler Media control: play_pause

Implementation

/// Media control: play_pause
void mediaSourcePlayPause(DivePointer source, bool pause) {
  _lib.obs_source_media_play_pause(source.pointer, pause ? 1 : 0);
}