[Recorder] Fix bool return type error
authorHaesu Gwon <haesu.gwon@samsung.com>
Thu, 29 Dec 2016 04:53:57 +0000 (13:53 +0900)
committerHaesu Gwon <haesu.gwon@samsung.com>
Thu, 29 Dec 2016 04:57:34 +0000 (13:57 +0900)
Change-Id: I16333e3c8fc117f54485488ac98e6d54b08486e1
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
packaging/csapi-multimedia.spec
src/Tizen.Multimedia/Interop/Interop.RecorderAttribute.cs [changed mode: 0644->0755]

index 8fde2e7929a12f3e482e3ebed5968d54c32c043e..c4bac2bd986f25b516704a81d90ced135ad130b5 100644 (file)
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
index 9fb1b3d..fb4be09
@@ -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")]