Home
last modified time | relevance | path

Searched refs:performanceMode (Results 1 – 13 of 13) 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/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);