Virtual Method

OmniActiveSourcestop

Declaration

void
stop (
  OmniActiveSource* self
)

Description

Stop data collection previously started by calling start, and then deactivate the input source.

The input source must cease data collection as soon as possible and call omni_source_activate_context_finish(). Calling it synchronously from stop is allowed.

Note that omni_source_activate_context_finish() can only be called exactly once after the end of data collection. If the input source has already called it due to its own trigger, it must not do it again.