From: Seungbae Shin Date: Mon, 8 Aug 2022 08:27:01 +0000 (+0900) Subject: fixup! fixup! Enable webrtc-audio-processing by default X-Git-Tag: submit/tizen/20220812.094800^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F279383%2F2;p=platform%2Fcore%2Fmultimedia%2Fpulseaudio-modules-tizen.git fixup! fixup! Enable webrtc-audio-processing by default Fix the following crash error due to invalid enumeration value. processor.c: pa_processor_get_method(498) > processing method is selected. request_method(reference_copy), method_to_string((null)) processor.c: pa_processor_new(169) > Assertion 'method < PA_PROCESSOR_METHOD_MAX' failed at src/echo-cancel/processor.c:169, function pa_processor_new(). Aborting. [Version] 15.0.27 [Issue Type] Bug Change-Id: I331fbea04be4a2d0471b916082f3da298c31a851 --- diff --git a/packaging/pulseaudio-modules-tizen.spec b/packaging/pulseaudio-modules-tizen.spec index 71b55b2..48aacf5 100644 --- a/packaging/pulseaudio-modules-tizen.spec +++ b/packaging/pulseaudio-modules-tizen.spec @@ -2,7 +2,7 @@ Name: pulseaudio-modules-tizen Summary: Pulseaudio modules for Tizen -Version: 15.0.26 +Version: 15.0.27 Release: 0 Group: Multimedia/Audio License: LGPL-2.1+ diff --git a/src/echo-cancel/processor.h b/src/echo-cancel/processor.h index ea14a69..625bb25 100644 --- a/src/echo-cancel/processor.h +++ b/src/echo-cancel/processor.h @@ -32,13 +32,11 @@ #include typedef enum { - PA_PROCESSOR_SPEEX, PA_PROCESSOR_ADRIAN, -#ifdef SUPPORT_METHOD_WEBRTC - PA_PROCESSOR_WEBRTC, -#endif PA_PROCESSOR_REFERENCE_COPY, + PA_PROCESSOR_SPEEX, #ifdef SUPPORT_METHOD_WEBRTC + PA_PROCESSOR_WEBRTC, PA_PROCESSOR_METHOD_DEFAULT = PA_PROCESSOR_WEBRTC, #else PA_PROCESSOR_METHOD_DEFAULT = PA_PROCESSOR_SPEEX,