Home
last modified time | relevance | path

Searched refs:AudioApi (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStreamBuilder.h134 AudioApi getAudioApi() const { return mAudioApi; } in getAudioApi()
149 AudioStreamBuilder *setAudioApi(AudioApi audioApi) { in setAudioApi()
380 return (mAudioApi == AudioApi::AAudio && isAAudioSupported()) in willUseAAudio()
381 || (mAudioApi == AudioApi::Unspecified && isAAudioRecommended()); in willUseAAudio()
435 AudioApi mAudioApi = AudioApi::Unspecified;
DAudioStream.h352 virtual AudioApi getAudioApi() const = 0;
360 return getAudioApi() == AudioApi::AAudio; in usesAAudio()
DDefinitions.h213 enum class AudioApi : int32_t { enum
/third_party/skia/third_party/externals/oboe/tests/
DtestStreamOpen.cpp62 mBuilder.setAudioApi(AudioApi::AAudio); in checkSampleRateConversionAdvancing()
93 mBuilder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
103 mBuilder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
113 mBuilder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
124 mBuilder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
135 mBuilder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
142 mBuilder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
153 mBuilder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
172 mBuilder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
DtestXRunBehaviour.cpp73 if (mStream->getAudioApi() == AudioApi::AAudio){ in TEST_F()
84 if (mStream->getAudioApi() == AudioApi::OpenSLES){ in TEST_F()
93 if (mStream->getAudioApi() == AudioApi::OpenSLES){ in TEST_F()
DtestStreamWaitState.cpp136 builder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
145 builder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
168 builder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
202 builder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
212 builder.setAudioApi(AudioApi::OpenSLES); in TEST_F()
DtestStreamClosedMethods.cpp279 AudioApi a = mStream->getAudioApi(); in TEST_F()
326 if (mStream->getAudioApi() == AudioApi::AAudio){ in TEST_F()
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/
DHelloOboeEngine.h54 void setAudioApi(oboe::AudioApi audioApi);
90 oboe::AudioApi mAudioApi = oboe::AudioApi::Unspecified;
Djni_bridge.cpp75 oboe::AudioApi api = static_cast<oboe::AudioApi>(audioApi); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setAudioApi()
DLatencyTuningCallback.cpp27 && oboeStream->getAudioApi() == oboe::AudioApi::AAudio) { in onAudioReady()
DHelloOboeEngine.cpp89 void HelloOboeEngine::setAudioApi(oboe::AudioApi audioApi) { in setAudioApi()
/third_party/skia/third_party/externals/oboe/samples/LiveEffect/src/main/cpp/
DLiveEffectEngine.h46 bool setAudioApi(oboe::AudioApi);
62 oboe::AudioApi mAudioApi = oboe::AudioApi::AAudio;
Djni_bridge.cpp95 oboe::AudioApi audioApi; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI()
98 audioApi = oboe::AudioApi::AAudio; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI()
101 audioApi = oboe::AudioApi::OpenSLES; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setAPI()
DLiveEffectEngine.cpp46 bool LiveEffectEngine::setAudioApi(oboe::AudioApi api) { in setAudioApi()
/third_party/skia/third_party/externals/oboe/src/common/
DUtilities.cpp164 const char *convertToText<AudioApi>(AudioApi audioApi) { in convertToText()
167 case AudioApi::Unspecified: return "Unspecified"; in convertToText()
168 case AudioApi::OpenSLES: return "OpenSLES"; in convertToText()
169 case AudioApi::AAudio: return "AAudio"; in convertToText()
DAudioStreamBuilder.cpp67 if (isAAudioRecommended() && mAudioApi != AudioApi::OpenSLES) { in build()
69 } else if (isAAudioSupported() && mAudioApi == AudioApi::AAudio) { in build()
DQuirksManager.h59 if (stream.getAudioApi() == AudioApi::AAudio) { in isMMapUsed()
DFilterAudioStream.h131 AudioApi getAudioApi() const override { in getAudioApi()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
DNativeAudioContext.cpp27 static oboe::AudioApi convertNativeApiToAudioApi(int nativeApi) { in convertNativeApiToAudioApi()
31 return oboe::AudioApi::Unspecified; in convertNativeApiToAudioApi()
33 return oboe::AudioApi::AAudio; in convertNativeApiToAudioApi()
35 return oboe::AudioApi::OpenSLES; in convertNativeApiToAudioApi()
104 if (oboeStream->getAudioApi() != AudioApi::AAudio) return false; in isMMapUsed()
154 oboe::AudioApi audioApi = oboe::AudioApi::Unspecified; in open()
476 ->setAudioApi(oboe::AudioApi::OpenSLES); in startPlayback()
Djni-bridge.cpp214 static int convertAudioApiToNativeApi(oboe::AudioApi audioApi) { in convertAudioApiToNativeApi()
216 case oboe::AudioApi::Unspecified: in convertAudioApiToNativeApi()
218 case oboe::AudioApi::OpenSLES: in convertAudioApiToNativeApi()
220 case oboe::AudioApi::AAudio: in convertAudioApiToNativeApi()
233 oboe::AudioApi audioApi = oboeStream->getAudioApi(); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getNativeApi()
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.h65 AudioApi getAudioApi() const override { in getAudioApi()
66 return AudioApi::OpenSLES; in getAudioApi()
/third_party/skia/third_party/externals/oboe/src/aaudio/
DAudioStreamAAudio.h86 AudioApi getAudioApi() const override { in getAudioApi()
87 return AudioApi::AAudio; in getAudioApi()