Searched refs:AudioApi (Results 1 – 22 of 22) sorted by relevance
134 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;
352 virtual AudioApi getAudioApi() const = 0;360 return getAudioApi() == AudioApi::AAudio; in usesAAudio()
213 enum class AudioApi : int32_t { enum
62 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()
73 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()
136 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()
279 AudioApi a = mStream->getAudioApi(); in TEST_F()326 if (mStream->getAudioApi() == AudioApi::AAudio){ in TEST_F()
54 void setAudioApi(oboe::AudioApi audioApi);90 oboe::AudioApi mAudioApi = oboe::AudioApi::Unspecified;
75 oboe::AudioApi api = static_cast<oboe::AudioApi>(audioApi); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setAudioApi()
27 && oboeStream->getAudioApi() == oboe::AudioApi::AAudio) { in onAudioReady()
89 void HelloOboeEngine::setAudioApi(oboe::AudioApi audioApi) { in setAudioApi()
46 bool setAudioApi(oboe::AudioApi);62 oboe::AudioApi mAudioApi = oboe::AudioApi::AAudio;
95 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()
46 bool LiveEffectEngine::setAudioApi(oboe::AudioApi api) { in setAudioApi()
164 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()
67 if (isAAudioRecommended() && mAudioApi != AudioApi::OpenSLES) { in build()69 } else if (isAAudioSupported() && mAudioApi == AudioApi::AAudio) { in build()
59 if (stream.getAudioApi() == AudioApi::AAudio) { in isMMapUsed()
131 AudioApi getAudioApi() const override { in getAudioApi()
27 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()
214 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()
65 AudioApi getAudioApi() const override { in getAudioApi()66 return AudioApi::OpenSLES; in getAudioApi()
86 AudioApi getAudioApi() const override { in getAudioApi()87 return AudioApi::AAudio; in getAudioApi()