Skip to content

Commit

Permalink
Fix qoa_open_from_memory interop definition
Browse files Browse the repository at this point in the history
  • Loading branch information
thatcosmonaut committed Jan 28, 2025
1 parent f9a6bfa commit d633be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csharp/FAudio.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2593,7 +2593,7 @@ int num_samples
/* Because, again, why not? */

[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public extern static unsafe IntPtr qoa_open_from_memory(char *bytes, uint size, int free_on_close);
public extern static IntPtr qoa_open_from_memory(IntPtr bytes, uint size, int free_on_close);

[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
private static extern unsafe IntPtr qoa_open_from_filename(
Expand Down

0 comments on commit d633be3

Please sign in to comment.