Home
last modified time | relevance | path

Searched refs:performanceMode (Results 1 – 24 of 24) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dsound_system_aaudio.cpp182 aaudio_performance_mode_t getAAudioPerfMode(PerformanceMode performanceMode) { in getAAudioPerfMode() argument
183 switch (performanceMode) { in getAAudioPerfMode()
190 ALOGE("Invalid performance mode value %d", static_cast<int>(performanceMode)); in getAAudioPerfMode()
213 PerformanceMode performanceMode, int *samplingRate, int *playerBufferFrameCount);
236 std::unique_ptr<StreamBuilder> createBuilder(PerformanceMode performanceMode);
244 std::unique_ptr<StreamBuilder> Player::createBuilder(PerformanceMode performanceMode) { in createBuilder() argument
249 builder->setPerformanceMode(getAAudioPerfMode(performanceMode)); in createBuilder()
258 PerformanceMode performanceMode, int *samplingRate, int *playerBufferFrameCount) { in probeDefaults() argument
259 std::unique_ptr<StreamBuilder> builder = createBuilder(performanceMode); in probeDefaults()
328 PerformanceMode performanceMode, int *samplingRate, int *recorderBufferFrameCount);
[all …]
Dloopback2.cpp36 int lb2ComputeDefaultSettings(int performanceMode, int *samplingRate, in lb2ComputeDefaultSettings() argument
39 return ss.probeDefaultSettings(static_cast<PerformanceMode>(performanceMode), in lb2ComputeDefaultSettings()
45 int performanceMode, int testType, double frequency1, char* byteBufferPtr, in lb2Init() argument
53 static_cast<PerformanceMode>(performanceMode), frameCount, in lb2Init()
63 static_cast<PerformanceMode>(performanceMode),frameCount, in lb2Init()
Dloopback2.h26 int lb2ComputeDefaultSettings(int performanceMode, int *samplingRate,
29 int performanceMode,
Dsound_system_aaudio.h36 bool probeDefaultSettings(PerformanceMode performanceMode, int *samplingRate,
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackApplication.java184 int mapPerformanceMode(int performanceMode) { in mapPerformanceMode() argument
188 switch (performanceMode) { in mapPerformanceMode()
195 mappedPerformanceMode = performanceMode; in mapPerformanceMode()
213 String getPerformanceModeString(int performanceMode) { in getPerformanceModeString() argument
217 if (myArray != null && performanceMode >= -1 && performanceMode < myArray.length - 1) { in getPerformanceModeString()
218 name = myArray[performanceMode + 1]; in getPerformanceModeString()
224 void setPerformanceMode(int performanceMode) { in setPerformanceMode() argument
225 mPerformanceMode = performanceMode; in setPerformanceMode()
DNativeAudioThread.java99 int threadType, int performanceMode) { in computeDefaultSettings() argument
101 Constant.BYTES_PER_FRAME, threadType, performanceMode); in computeDefaultSettings()
118 int recorderBufferInBytes, int micSource, int performanceMode, in NativeAudioThread() argument
127 mPerformanceMode = performanceMode; in NativeAudioThread()
165 int bytesPerFrame, int threadType, int performanceMode); in nativeComputeDefaultSettings() argument
168 int performanceMode, in nativeInit() argument
DSoundLevelCalibration.java56 int recorderBufferSizeInBytes, int micSource, int performanceMode, Context context) { in SoundLevelCalibration() argument
63 playerBufferSizeInBytes, recorderBufferSizeInBytes, micSource, performanceMode, in SoundLevelCalibration()
DSettingsActivity.java87 int performanceMode = getApp().getPerformanceMode(); in onCreate() local
97 mSpinnerPerformanceMode.setSelection(performanceMode + 1, false); in onCreate()
390 int performanceMode = mSpinnerPerformanceMode.getSelectedItemPosition() - 1; in onItemSelected() local
391 getApp().setPerformanceMode(performanceMode); in onItemSelected()
394 log("performanceMode:" + performanceMode); in onItemSelected()
/external/oboe/src/opensles/
DAudioStreamOpenSLES.cpp234 SLuint32 performanceMode = convertPerformanceMode(getPerformanceMode()); in configurePerformanceMode() local
236 &performanceMode, sizeof(performanceMode)); in configurePerformanceMode()
239 performanceMode, getSLErrStr(result)); in configurePerformanceMode()
249 SLuint32 performanceMode = 0; in updateStreamParameters() local
250 SLuint32 performanceModeSize = sizeof(performanceMode); in updateStreamParameters()
252 &performanceModeSize, &performanceMode); in updateStreamParameters()
262 mPerformanceMode = convertPerformanceMode(performanceMode); // convert SL to Oboe mode in updateStreamParameters()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DTestDisconnectActivity.java372 private void testConfiguration(boolean isInput, int performanceMode, in testConfiguration() argument
375 testConfiguration(isInput, performanceMode, sharingMode, sampleRate, requestPlugin); in testConfiguration()
377 testConfiguration(isInput, performanceMode, sharingMode, sampleRate, requestPlugin); in testConfiguration()
380 private void testConfiguration(boolean isInput, int performanceMode, in testConfiguration() argument
383 testConfiguration(isInput, performanceMode, sharingMode, sampleRate); in testConfiguration()
386 private void testConfiguration(int performanceMode, in testConfiguration() argument
388 testConfiguration(false, performanceMode, sharingMode); in testConfiguration()
389 testConfiguration(true, performanceMode, sharingMode); in testConfiguration()
DAutomatedGlitchActivity.java83 private void testConfiguration(int performanceMode, in testConfiguration() argument
86 testConfiguration(performanceMode, in testConfiguration()
89 testConfiguration(performanceMode, in testConfiguration()
DStreamConfiguration.java145 public void setPerformanceMode(int performanceMode) { in setPerformanceMode() argument
146 this.mPerformanceMode = performanceMode; in setPerformanceMode()
149 static String convertPerformanceModeToText(int performanceMode) { in convertPerformanceModeToText() argument
150 switch(performanceMode) { in convertPerformanceModeToText()
DOboeAudioStream.java104 int performanceMode, in openNative() argument
DStreamConfigurationView.java295 public void onItemSelected(AdapterView<?> parent, View view, int performanceMode, long id) { in onItemSelected() argument
296 mRequestedConfiguration.setPerformanceMode(performanceMode in onItemSelected()
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dloopback_sles.h26 int slesComputeDefaultSettings(int performanceMode, int *samplingRate,
29 int performanceMode,
Dloopback.h57 int (*computeDefaultSettings)(int performanceMode, int *samplingRate,
60 int performanceMode,
Djni_native.c39 (JNIEnv *env, jobject obj __unused, jint bytesPerFrame, jint threadType, jint performanceMode) { in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings() argument
43 if (sEngines[engine].computeDefaultSettings(performanceMode, &samplingRate, in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings()
59 jint micSource, jint performanceMode, in Java_org_drrickorang_loopback_NativeAudioThread_nativeInit() argument
81 performanceMode, in Java_org_drrickorang_loopback_NativeAudioThread_nativeInit()
Dsles.cpp37 int performanceMode,
56 int performanceMode, in slesInit() argument
73 performanceMode, testType, in slesInit()
436 int performanceMode, in slesCreateServer() argument
678 if (performanceMode != -1) { in slesCreateServer()
679 SLuint32 performanceMode32 = performanceMode; in slesCreateServer()
777 if (performanceMode != -1) { in slesCreateServer()
778 SLuint32 performanceMode32 = performanceMode; in slesCreateServer()
Djni_native.h30 (JNIEnv *, jobject, jint bytesPerFrame, jint threadType, jint performanceMode);
/external/oboe/include/oboe/
DAudioStreamBuilder.h201 AudioStreamBuilder *setPerformanceMode(PerformanceMode performanceMode) { in setPerformanceMode() argument
202 mPerformanceMode = performanceMode; in setPerformanceMode()
/external/oboe/apps/OboeTester/app/src/main/cpp/
Djni-bridge.cpp44 jint performanceMode,
120 jint performanceMode, in Java_com_google_sample_oboe_manualtest_OboeAudioStream_openNative() argument
137 performanceMode, in Java_com_google_sample_oboe_manualtest_OboeAudioStream_openNative()
DNativeAudioContext.cpp144 jint performanceMode, in open() argument
182 ->setPerformanceMode((oboe::PerformanceMode) performanceMode) in open()
DNativeAudioContext.h117 jint performanceMode,
/external/oboe/docs/
DFullGuide.md126 * performanceMode