mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-23 04:25:34 +00:00
Mix_Chunk is not our problem.
This commit is contained in:
parent
4a37ca4387
commit
0fb37403cd
|
@ -95,15 +95,6 @@ namespace SDL2
|
|||
MUS_MODPLUG
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct Mix_Chunk
|
||||
{
|
||||
public int allocated;
|
||||
public IntPtr abuf; // Uint8*
|
||||
public uint alen;
|
||||
public byte volume;
|
||||
}
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public delegate void MixFuncDelegate(
|
||||
IntPtr udata, // void*
|
||||
|
@ -212,7 +203,7 @@ namespace SDL2
|
|||
|
||||
/* IntPtr refers to a Mix_Chunk* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern Mix_Chunk Mix_QuickLoad_RAW(
|
||||
public static extern IntPtr Mix_QuickLoad_RAW(
|
||||
[In()] [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.U1, SizeParamIndex = 1)]
|
||||
byte[] mem,
|
||||
uint len
|
||||
|
|
Loading…
Reference in a new issue