-
|
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
listenOnJavaandlistenOnNative?listenOnJava&EUPHONY_JAVA_ENGINEeuphony/euphony/src/main/java/co/euphony/rx/EuRxManager.java
Line 64 in 58c7b82
Actually,
listenOnJavafunction is the core of rx feature. it is the start point of rx.This is based on java. From
recording audiotodata encoding, all feature are made by java without FFT implementation.listenOnNative&EUPHONY_NATIVE_ENGINEeuphony/euphony/src/main/java/co/euphony/rx/EuRxManager.java
Line 92 in 58c7b82