From: Haesu Gwon Date: Thu, 29 Dec 2016 04:53:57 +0000 (+0900) Subject: [Recorder] Fix bool return type error X-Git-Tag: submit/trunk/20170823.075128~94^2~152 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e9818206276e56e73ee0f45aa1ee9df7aba37ae;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Recorder] Fix bool return type error Change-Id: I16333e3c8fc117f54485488ac98e6d54b08486e1 Signed-off-by: Haesu Gwon --- 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")]