Skip to content

Commit

Permalink
Add missing definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
kg committed Dec 8, 2024
1 parent 4afb7e3 commit 564afb1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions csharp/FAudio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -947,9 +947,9 @@ IntPtr fapo
public delegate uint LockForProcessFunc (
IntPtr fapo,
uint InputLockedParameterCount,
IntPtr pInputLockedParameters,
ref FAPOLockForProcessBufferParameters pInputLockedParameters,
uint OutputLockedParameterCount,
IntPtr pOutputLockedParameters
ref FAPOLockForProcessBufferParameters pOutputLockedParameters
);
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate void UnlockForProcessFunc (
Expand Down Expand Up @@ -1022,7 +1022,14 @@ public unsafe struct FAPORegistrationProperties
};

[StructLayout(LayoutKind.Sequential)]
public unsafe struct FAPOProcessBufferParameters
public struct FAPOLockForProcessBufferParameters
{
public IntPtr pFormat;
uint MaxFrameCount;
}

[StructLayout(LayoutKind.Sequential)]
public struct FAPOProcessBufferParameters
{
public IntPtr pBuffer;
public FAPOBufferFlags BufferFlags;
Expand Down

0 comments on commit 564afb1

Please sign in to comment.