Name: pulseaudio
Summary: Improved Linux sound server
Version: 5.0
-Release: 68
+Release: 69
Group: Multimedia/Audio
License: LGPL-2.1+
URL: http://pulseaudio.org
echo "tizen profile werable"
export CFLAGS+=" -DTIZEN_MICRO -DPM_ASYNC -DADJUST_ANDROID_BITPOOL"
-%else if "%{?tizen_profile_name}" == "mobile"
-echo "tizen profile mobile"
-export CFLAGS+=" -DTIZEN_MOBILE -DPM_ASYNC "
-
%else if "%{?tizen_profile_name}" == "tv"
echo "tizen profile tv"
export CFLAGS+=" -DTIZEN_TV "
+
+%else if "%{?tizen_profile_name}" == "mobile"
+echo "tizen profile mobile"
+export CFLAGS+=" -DTIZEN_MOBILE -DPM_ASYNC "
%endif
export LD_AS_NEEDED=0
#include "server-lookup.h"
#define PA_READY "/tmp/.pa_ready"
+#ifdef TIZEN_TV
+#define PULSEAUDIO_READY "/tmp/.pulseaudio_ready"
+#endif
#ifdef HAVE_LIBWRAP
/* Only one instance of these variables */
int allow_severity = LOG_INFO;
pa_log_info(_("Daemon startup complete."));
/* broadcast if we're ready */
creat(PA_READY, 0644);
-
+#ifdef TIZEN_TV
+ if (creat(PULSEAUDIO_READY, 0644) != -1)
+ pa_log_warn("PULSEAUDIO_READY(%s) file was created", PULSEAUDIO_READY);
+ else
+ pa_log_error("cannot create PULSEAUDIO_READY(/tmp/.pulseaudio_ready)");
+#endif
retval = 0;
if (pa_mainloop_run(mainloop, &retval) < 0)
goto finish;