Remove dlog dependency & fix indent 03/89803/3
authorHyunseok Lee <hs7388.lee@samsung.com>
Tue, 27 Sep 2016 05:20:16 +0000 (14:20 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Wed, 28 Sep 2016 11:12:17 +0000 (20:12 +0900)
[Version] 5.0.82
[Profile] Common
[Issue Type] CleanUp

Change-Id: I40a6018caf470ae5019edb1ef1f98e9fc1b5f771

configure.ac
packaging/pulseaudio-modules-tizen.spec
src/module-tizenaudio-policy.c

index 98222a9..34b05f8 100644 (file)
@@ -360,24 +360,6 @@ PKG_CHECK_MODULES(VCONF, vconf)
 AC_SUBST(VCONF_CFLAGS)
 AC_SUBST(VCONF_LIBS)
 
-dnl use dlog --------------------------------------------------------------------------
-AC_ARG_ENABLE(dlog, AC_HELP_STRING([--enable-dlog], [using dlog]),
-[
- case "${enableval}" in
-        yes) USE_DLOG=yes ;;
-        no)  USE_DLOG=no ;;
-        *)   AC_MSG_ERROR(bad value ${enableval} for --enable-dlog) ;;
- esac
- ],[USE_DLOG=no])
-
-if test "x$USE_DLOG" = "xyes"; then
-PKG_CHECK_MODULES(DLOG, dlog)
-AC_SUBST(DLOG_CFLAGS)
-AC_SUBST(DLOG_LIBS)
-fi
-AM_CONDITIONAL(USE_DLOG, test "x$USE_DLOG" = "xyes")
-dnl end --------------------------------------------------------------------
-
 dnl use hal tc ------------------------------------------------------------
 AC_ARG_ENABLE(haltc, AC_HELP_STRING([--enable-haltc], [using haltc]),
 [
index 3a6a20f..1105206 100644 (file)
@@ -1,6 +1,6 @@
 Name:             pulseaudio-modules-tizen
 Summary:          Pulseaudio modules for Tizen
-Version:          5.0.81
+Version:          5.0.82
 Release:          0
 Group:            Multimedia/Audio
 License:          LGPL-2.1+
@@ -19,9 +19,6 @@ BuildRequires:    pkgconfig(pulsecore)
 BuildRequires:    pkgconfig(libsystemd)
 BuildRequires:    pulseaudio
 BuildRequires:    m4
-%if %{with pulseaudio_dlog}
-BuildRequires:    pkgconfig(dlog)
-%endif
 Requires(post):   /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 
@@ -37,9 +34,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing -DSYSCONFDIR=\\\"%{_sysconfdir}\
 export LD_AS_NEEDED=0
 %reconfigure --prefix=%{_prefix} \
         --disable-static \
-%if %{with pulseaudio_dlog}
-        --enable-dlog \
-%endif
 #        --enable-haltc
 
 %__make %{?_smp_mflags} V=1
index b3976e6..8cfeca9 100644 (file)
@@ -1020,7 +1020,7 @@ static pa_hook_result_t route_change_hook_cb(pa_core *c, pa_stream_manager_hook_
                 /* make sure the previous device is closed */
                 if (data->stream_type == STREAM_SINK_INPUT)
                     pa_sink_suspend(sink, true, PA_SUSPEND_INTERNAL);
-                else if(data->stream_type == STREAM_SOURCE_OUTPUT)
+                else if (data->stream_type == STREAM_SOURCE_OUTPUT)
                     pa_source_suspend(source, true, PA_SUSPEND_INTERNAL);
             }