Home
last modified time | relevance | path

Searched refs:threadType (Results 1 – 5 of 5) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/cpp/
Djni_native.c27 static int nativeEngineFromThreadType(int threadType) { in nativeEngineFromThreadType() argument
28 switch (threadType) { in nativeEngineFromThreadType()
33 "unsupported thread type %d", threadType); in nativeEngineFromThreadType()
39 (JNIEnv *env, jobject obj __unused, jint bytesPerFrame, jint threadType, jint performanceMode) { in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings() argument
40 int engine = nativeEngineFromThreadType(threadType); in Java_org_drrickorang_loopback_NativeAudioThread_nativeComputeDefaultSettings()
58 (JNIEnv *env, jobject obj __unused, jint threadType, jint samplingRate, jint frameCount, in Java_org_drrickorang_loopback_NativeAudioThread_nativeInit() argument
63 int engine = nativeEngineFromThreadType(threadType); in Java_org_drrickorang_loopback_NativeAudioThread_nativeInit()
Djni_native.h30 (JNIEnv *, jobject, jint bytesPerFrame, jint threadType, jint performanceMode);
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DNativeAudioThread.java99 int threadType, int performanceMode) { in computeDefaultSettings() argument
101 Constant.BYTES_PER_FRAME, threadType, performanceMode); in computeDefaultSettings()
117 public NativeAudioThread(int threadType, int samplingRate, int playerBufferInBytes, in NativeAudioThread() argument
122 mThreadType = threadType; in NativeAudioThread()
165 int bytesPerFrame, int threadType, int performanceMode); in nativeComputeDefaultSettings() argument
166 public native long nativeInit(int threadType, in nativeInit() argument
DLoopbackApplication.java101 int mapMicSource(int threadType, int source) { in mapMicSource() argument
105 if (threadType == Constant.AUDIO_THREAD_TYPE_JAVA) { in mapMicSource()
134 } else if (threadType == Constant.AUDIO_THREAD_TYPE_NATIVE_SLES) { in mapMicSource()
DSoundLevelCalibration.java55 SoundLevelCalibration(int threadType, int samplingRate, int playerBufferSizeInBytes, in SoundLevelCalibration() argument
62 mNativeAudioThread = new NativeAudioThread(threadType, samplingRate, in SoundLevelCalibration()