{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate bool VideoResolutionCallback(int width, int height, IntPtr userData);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate bool VideoResolutionCallback(int width, int height, IntPtr userData);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
- internal static extern RecorderError FileFormats(IntPtr handle, FileFormatCallback callback, IntPtr userData);
+ internal static extern RecorderErrorCode GetFileFormats(RecorderHandle handle,
+ FileFormatCallback callback, IntPtr userData = default(IntPtr));
- internal static extern RecorderError AudioEncoders(IntPtr handle, AudioEncoderCallback callback, IntPtr userData);
+ internal static extern RecorderErrorCode GetAudioEncoders(RecorderHandle handle,
+ AudioEncoderCallback callback, IntPtr userData = default(IntPtr));
- internal static extern RecorderError VideoEncoders(IntPtr handle, VideoEncoderCallback callback, IntPtr userData);
+ internal static extern RecorderErrorCode GetVideoEncoders(RecorderHandle handle,
+ VideoEncoderCallback callback, IntPtr userData = default(IntPtr));
- internal static extern RecorderError VideoResolution(IntPtr handle, VideoResolutionCallback callback, IntPtr userData);
+ public static extern RecorderErrorCode GetVideoResolutions(RecorderHandle handle,
+ VideoResolutionCallback callback, IntPtr userData = default(IntPtr));