fixup! fixup! Enable webrtc-audio-processing by default 83/279383/2 submit/tizen/20220812.094800
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 8 Aug 2022 08:27:01 +0000 (17:27 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 8 Aug 2022 08:30:53 +0000 (17:30 +0900)
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

packaging/pulseaudio-modules-tizen.spec
src/echo-cancel/processor.h

index 71b55b2..48aacf5 100644 (file)
@@ -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+
index ea14a69..625bb25 100644 (file)
 #include <pulse/sample.h>
 
 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,