Function CleanUp

Synopsis

#include <bta/include/bta_hearing_aid_api.h>

static void CleanUp()

Description

No description yet.

Source

Lines 402-409 in bta/hearing_aid/hearing_aid_audio_source.cc. Line 261 in bta/include/bta_hearing_aid_api.h.

void HearingAidAudioSource::CleanUp() {
  if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) {
    bluetooth::audio::hearing_aid::cleanup();
  } else {
    UIPC_Close(*uipc_hearing_aid, UIPC_CH_ID_ALL);
    uipc_hearing_aid = nullptr;
  }
}





Add Discussion as Guest

Log in to DocsForge