From 4e9818206276e56e73ee0f45aa1ee9df7aba37ae Mon Sep 17 00:00:00 2001 From: Haesu Gwon Date: Thu, 29 Dec 2016 13:53:57 +0900 Subject: [PATCH] [Recorder] Fix bool return type error Change-Id: I16333e3c8fc117f54485488ac98e6d54b08486e1 Signed-off-by: Haesu Gwon --- packaging/csapi-multimedia.spec | 2 +- src/Tizen.Multimedia/Interop/Interop.RecorderAttribute.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/Tizen.Multimedia/Interop/Interop.RecorderAttribute.cs diff --git a/packaging/csapi-multimedia.spec b/packaging/csapi-multimedia.spec index 8fde2e7..c4bac2b 100644 --- a/packaging/csapi-multimedia.spec +++ b/packaging/csapi-multimedia.spec @@ -1,6 +1,6 @@ Name: csapi-multimedia Summary: Tizen Multimedia API for C# -Version: 1.0.24 +Version: 1.0.25 Release: 0 Group: Development/Libraries License: Apache-2.0 diff --git a/src/Tizen.Multimedia/Interop/Interop.RecorderAttribute.cs b/src/Tizen.Multimedia/Interop/Interop.RecorderAttribute.cs old mode 100644 new mode 100755 index 9fb1b3d..fb4be09 --- a/src/Tizen.Multimedia/Interop/Interop.RecorderAttribute.cs +++ b/src/Tizen.Multimedia/Interop/Interop.RecorderAttribute.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Runtime.InteropServices; using Tizen.Multimedia; @@ -46,6 +46,7 @@ internal static partial class Interop internal static extern int SetMute(IntPtr handle, bool enable); [DllImport(Libraries.Recorder, EntryPoint = "recorder_attr_is_muted")] + [return: MarshalAs(UnmanagedType.I1)] internal static extern bool GetMute(IntPtr handle); [DllImport(Libraries.Recorder, EntryPoint = "recorder_attr_set_recording_motion_rate")] -- 2.7.4