-
Hi! I have a question about the following code public void setRxEngineType(RxEngineType type) {
this.rxEngineType = type;
} public boolean listen() {
if (rxEngineType == RxEngineType.EUPHONY_JAVA_ENGINE)
return listenOnJava();
else
return listenOnNative();
}
|
Beta Was this translation helpful? Give feedback.
Answered by
designe
Aug 25, 2022
Replies: 1 comment 1 reply
-
Hi @zion830! What's the difference of
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zion830
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @zion830!
Sorry for late reply. I've been very busy this week, so I'm just posting an answer.
What's the difference of
listenOnJava
andlistenOnNative
?listenOnJava
&EUPHONY_JAVA_ENGINE
euphony/euphony/src/main/java/co/euphony/rx/EuRxManager.java
Line 64 in 58c7b82
Actually,
listenOnJava
function is the core of rx feature. it is the start point of rx.This is based on java. From
recording audio
todata encoding
, all feature are made by java without FFT implementation.listenOnNative
&EUPHONY_NATIVE_ENGINE
euphony/euphony/src/main/java/co/euphony/rx/EuRxManager.java
Line 92 in 58c7b82