Function Stop

Synopsis

#include <bta/include/bta_hearing_aid_api.h>

static void Stop()

Description

No description yet.

Source

Lines 379-388 in bta/hearing_aid/hearing_aid_audio_source.cc. Line 259 in bta/include/bta_hearing_aid_api.h.

void HearingAidAudioSource::Stop() {
  LOG(INFO) << __func__ << ": Hearing Aid Source Close";

  localAudioReceiver = nullptr;
  if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) {
    bluetooth::audio::hearing_aid::end_session();
  }

  stop_audio_ticks();
}





Add Discussion as Guest

Log in to DocsForge