-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, may I ask how to use the noise reduction module of webrtc #1
Comments
#include "noise_suppression_x.h" #define NUMBER_SAMPLE_RATES 4 static const int framesize = 80; // static const int _sample_rates[NUMBER_SAMPLE_RATES] = {8000, 16000, 32000, 48000}; typedef struct MSWebRtcNs {
} MSWebRtcNs; static int ns_set_sample_rate(MSFilter *f, void *arg) {
} static void ns_init(MSFilter *f) { static void ns_process(MSFilter *f) {
} static void ns_uninit(MSFilter *f) { static MSFilterMethod ns_methods[]={ extern "C" MSFilterDesc ms_webrtc_ns_desc = { |
Due to network restrictions, I cannot upload the code in the form of attachment. I can only send it in the comment as text. I'm very sorry. |
Hello:
My linphone-sdk version is 5.2.0 and I found that I could use the AEC and VAD modules of webrtc directly, but not the noise reduction module.
I try to write and connect the Filter of noise reduction module in accordance with the AEC module, I see in the log that the WebRtcNsx_Process method has been executed, but there is no effect. May I ask if there is something wrong with my code? Can you help me to enable the noise reduction module?
I'll post my code below.
The text was updated successfully, but these errors were encountered: