made critical acinerella methods private
This commit is contained in:
1 parent
e91c43d99c
commit
6e8c8ec510
1 file changed
+12
-12
@@ -180,7 +180,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
// Initializes an Acinerella instance.
|
||||
//function ac_init(): PAc_instance; cdecl; external ac_dll;
|
||||
[DllImport(AcDll, EntryPoint = "ac_init", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern IntPtr _ac_init();
|
||||
private static extern IntPtr _ac_init();
|
||||
|
||||
public static IntPtr ac_init()
|
||||
{
|
||||
@@ -193,7 +193,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
// Frees an Acinerella instance.
|
||||
//procedure ac_free(inst: PAc_instance); cdecl; external ac_dll;
|
||||
[DllImport(AcDll, EntryPoint = "ac_free", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern void _ac_free(IntPtr PAc_instance);
|
||||
private static extern void _ac_free(IntPtr PAc_instance);
|
||||
|
||||
public static void ac_free(IntPtr PAc_instance)
|
||||
{
|
||||
@@ -221,7 +221,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
proberesult: PAc_proberesult): integer; cdecl; external ac_dll;
|
||||
*/
|
||||
[DllImport(AcDll, EntryPoint = "ac_open", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern Int32 _ac_open(
|
||||
private static extern Int32 _ac_open(
|
||||
IntPtr PAc_instance,
|
||||
IntPtr sender,
|
||||
TAc_openclose_callback open_proc,
|
||||
@@ -250,7 +250,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
// Closes an opened media file.
|
||||
//procedure ac_close(inst: PAc_instance);cdecl; external ac_dll;
|
||||
[DllImport(AcDll, EntryPoint = "ac_close", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern void _ac_close(IntPtr PAc_instance);
|
||||
private static extern void _ac_close(IntPtr PAc_instance);
|
||||
|
||||
public static void ac_close(IntPtr PAc_instance)
|
||||
{
|
||||
@@ -264,7 +264,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
//procedure ac_get_stream_info(
|
||||
//inst: PAc_instance; nb: integer; pinfo: PAc_stream_info); cdecl; external ac_dll;
|
||||
[DllImport(AcDll, EntryPoint = "ac_get_stream_info", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern void _ac_get_stream_info(
|
||||
private static extern void _ac_get_stream_info(
|
||||
IntPtr PAc_instance,
|
||||
Int32 nb,
|
||||
out TAc_stream_info Info
|
||||
@@ -300,7 +300,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
// could be found.
|
||||
//function ac_create_decoder(pacInstance: PAc_instance; nb: integer): PAc_decoder; cdecl; external ac_dll;
|
||||
[DllImport(AcDll, EntryPoint = "ac_create_decoder", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern IntPtr _ac_create_decoder(IntPtr PAc_instance, Int32 nb);
|
||||
private static extern IntPtr _ac_create_decoder(IntPtr PAc_instance, Int32 nb);
|
||||
|
||||
public static IntPtr ac_create_decoder(IntPtr PAc_instance, Int32 nb)
|
||||
{
|
||||
@@ -313,7 +313,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
// Frees an created decoder.
|
||||
//procedure ac_free_decoder(pDecoder: PAc_decoder); cdecl; external ac_dll;
|
||||
[DllImport(AcDll, EntryPoint = "ac_free_decoder", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern void _ac_free_decoder(IntPtr PAc_decoder);
|
||||
private static extern void _ac_free_decoder(IntPtr PAc_decoder);
|
||||
|
||||
public static void ac_free_decoder(IntPtr PAc_decoder)
|
||||
{
|
||||
@@ -327,7 +327,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
// "buffer" property of the decoder.
|
||||
//function ac_decode_package(pPackage: PAc_package; pDecoder: PAc_decoder): integer; cdecl; external ac_dll;
|
||||
[DllImport(AcDll, EntryPoint = "ac_decode_package", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern Int32 _ac_decode_package(IntPtr PAc_package, IntPtr PAc_decoder);
|
||||
private static extern Int32 _ac_decode_package(IntPtr PAc_package, IntPtr PAc_decoder);
|
||||
|
||||
public static Int32 ac_decode_package(IntPtr PAc_package, IntPtr PAc_decoder)
|
||||
{
|
||||
@@ -338,7 +338,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
}
|
||||
|
||||
[DllImport(AcDll, EntryPoint = "ac_get_audio_frame", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern Int32 _ac_get_audio_frame(IntPtr PAcInstance, IntPtr PAc_decoder);
|
||||
private static extern Int32 _ac_get_audio_frame(IntPtr PAcInstance, IntPtr PAc_decoder);
|
||||
|
||||
public static Int32 ac_get_audio_frame(IntPtr PAcInstance, IntPtr PAc_decoder)
|
||||
{
|
||||
@@ -349,7 +349,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
}
|
||||
|
||||
[DllImport(AcDll, EntryPoint = "ac_get_frame", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern Int32 _ac_get_frame(IntPtr PAcInstance, IntPtr PAc_decoder);
|
||||
private static extern Int32 _ac_get_frame(IntPtr PAcInstance, IntPtr PAc_decoder);
|
||||
|
||||
|
||||
public static Int32 ac_get_frame(IntPtr PAcInstance, IntPtr PAc_decoder)
|
||||
@@ -360,7 +360,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
}
|
||||
}
|
||||
[DllImport(AcDll, EntryPoint = "ac_skip_frames", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern Int32 _ac_skip_frames(IntPtr PAcInstance, IntPtr PAc_decoder, Int32 num);
|
||||
private static extern Int32 _ac_skip_frames(IntPtr PAcInstance, IntPtr PAc_decoder, Int32 num);
|
||||
|
||||
public static Int32 ac_skip_frames(IntPtr PAcInstance, IntPtr PAc_decoder, Int32 num)
|
||||
{
|
||||
@@ -376,7 +376,7 @@ namespace Vocaluxe.Lib.Video.Acinerella
|
||||
// The target_pos paremeter is in milliseconds. Returns 1 if the functions succeded.}
|
||||
//function ac_seek(pDecoder: PAc_decoder; dir: integer; target_pos: int64): integer; cdecl; external ac_dll;
|
||||
[DllImport(AcDll, EntryPoint = "ac_seek", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Auto)]
|
||||
public static extern Int32 _ac_seek(IntPtr PAc_decoder, Int32 dir, Int64 target_pos);
|
||||
private static extern Int32 _ac_seek(IntPtr PAc_decoder, Int32 dir, Int64 target_pos);
|
||||
|
||||
public static Int32 ac_seek(IntPtr PAc_decoder, Int32 dir, Int64 target_pos)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user