From f39f1922a7b3c66e7b3dc4a415b9376c74e7df62 Mon Sep 17 00:00:00 2001 From: Hyunseok Lee Date: Tue, 22 Nov 2016 14:53:03 +0900 Subject: [PATCH] stream-manager: fix bug when updating occupying_role from source output & fix indentation [Version] 5.0.94 [Profile] Common [Issue Type] bug Change-Id: I1aa22163e40ee43155eff93e2605acc2d5eb86d8 --- packaging/pulseaudio-modules-tizen.spec | 2 +- src/stream-manager.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/pulseaudio-modules-tizen.spec b/packaging/pulseaudio-modules-tizen.spec index 0e8bd6a..a1e674a 100644 --- a/packaging/pulseaudio-modules-tizen.spec +++ b/packaging/pulseaudio-modules-tizen.spec @@ -1,6 +1,6 @@ Name: pulseaudio-modules-tizen Summary: Pulseaudio modules for Tizen -Version: 5.0.93 +Version: 5.0.94 Release: 0 Group: Multimedia/Audio License: LGPL-2.1+ diff --git a/src/stream-manager.c b/src/stream-manager.c index d10b859..6111cea 100644 --- a/src/stream-manager.c +++ b/src/stream-manager.c @@ -1175,7 +1175,7 @@ fail: } static DBusHandlerResult handle_methods(DBusConnection *conn, DBusMessage *msg, void *userdata) { - int idx = 0; + int idx = 0; pa_stream_manager *m = (pa_stream_manager*)userdata; pa_assert(conn); @@ -2242,7 +2242,7 @@ static void do_notify(pa_stream_manager *m, notify_command_type_t command, strea break; } } else if (type == STREAM_SOURCE_OUTPUT) { - hook_call_select_data.occupying_role = m->cur_highest_priority.role_si; + hook_call_select_data.occupying_role = m->cur_highest_priority.role_so; hook_call_select_data.proper_source = &(((pa_source_output_new_data*)s)->source); if (((pa_source_output_new_data*)s)->source) { pa_log_info(" - source(%s) has been already selected, skip selecting source", -- 2.7.4