Skip to content

Commit

Permalink
Add missing definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
kg committed Oct 31, 2024
1 parent 777474f commit fe25cf6
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 fe25cf6

Please sign in to comment.