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 10192c98bfa7a95d89f59690e6b374ec8576619c..d0b011f53a1bb38bde6e6a51d2d8cc29814b3bc8 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 1f9bb325822415771068996ca9dab37f02a11825..8a45e91f2f858d822d28e6f8fc566421963a4d95 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 3f9963e6055390e8798d2ebd89e0952dc14701cf..771f17410c34a8099980657d6dbff99cac5c698a 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;