preprocess: Use 100ms fragment msec in case of TV 63/299763/1
authorJaechul Lee <jcsing.lee@samsung.com>
Tue, 10 Oct 2023 03:04:28 +0000 (12:04 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Tue, 10 Oct 2023 03:13:42 +0000 (12:13 +0900)
When the fragment_size was set to 10ms by default, the playing/capturing
sometimes failed in case of TV.

[Version] 15.0.58
[Issue Type] Update

Change-Id: Ic78936fe421b76471f96a0df9027b91d60c16cd3
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
packaging/pulseaudio-modules-tizen.spec
src/tizenaudio-sink2.c
src/tizenaudio-source2.c

index 10192c9..d0b011f 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:             pulseaudio-modules-tizen
 Summary:          Pulseaudio modules for Tizen
-Version:          15.0.57
+Version:          15.0.58
 Release:          0
 Group:            Multimedia/Audio
 License:          LGPL-2.1+
index 1f9bb32..8a45e91 100644 (file)
 
 #define DEFAULT_SINK_NAME "tizenaudio-sink2"
 
-#define DEFAULT_FRAGMENT_MSEC               10
-#define DEFAULT_FRAGMENTS                    4
+#ifdef TIZEN_TV
+#define DEFAULT_FRAGMENT_MSEC               100
+#else
+#define DEFAULT_FRAGMENT_MSEC                10
+#endif
+#define DEFAULT_FRAGMENTS                     4
 
 struct userdata {
     pa_core *core;
index 3f9963e..771f174 100644 (file)
 
 #define DEFAULT_SOURCE_NAME "tizenaudio-source2"
 
-#define DEFAULT_FRAGMENT_MSEC               10
-#define DEFAULT_FRAGMENTS                    4
-#define DEFAULT_HAL_READ_TIMEOUT           150
+#ifdef TIZEN_TV
+#define DEFAULT_FRAGMENT_MSEC               100
+#else
+#define DEFAULT_FRAGMENT_MSEC                10
+#endif
+#define DEFAULT_FRAGMENTS                     4
+#define DEFAULT_HAL_READ_TIMEOUT            150
 
 struct userdata {
     pa_core *core;