Home
last modified time | relevance | path

Searched refs:mAudioApi (Results 1 – 2 of 2) sorted by relevance

/system/chre/platform/slpi/
Dplatform_audio.cc53 if (mAudioApi != nullptr) { in ~PlatformAudio()
56 mAudioApi->close(); in ~PlatformAudio()
63 mAudioApi = chrePalAudioGetApi(CHRE_PAL_AUDIO_API_CURRENT_VERSION); in init()
64 if (mAudioApi != nullptr) { in init()
65 if (!mAudioApi->open(&gChrePalSystemApi, &sAudioCallbacks)) { in init()
67 mAudioApi = nullptr; in init()
69 LOGD("Opened audio PAL version 0x%08" PRIx32, mAudioApi->moduleVersion); in init()
111 if (mAudioApi != nullptr) { in requestAudioDataEvent()
113 success = mAudioApi->requestAudioDataEvent(handle, numSamples, in requestAudioDataEvent()
121 if (mAudioApi != nullptr) { in cancelAudioDataEventRequest()
[all …]
/system/chre/platform/slpi/include/chre/target_platform/
Dplatform_audio_base.h43 const chrePalAudioApi *mAudioApi; variable