Fix AudioCallback usage
This commit is contained in:
parent
7e50d25e71
commit
2e19fd9889
1 changed files with 5 additions and 5 deletions
|
|
@ -2655,33 +2655,33 @@ namespace Raylib_cs
|
|||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SetAudioStreamCallback(
|
||||
AudioStream stream,
|
||||
delegate* unmanaged[Cdecl]<sbyte*, uint, void> callback
|
||||
delegate* unmanaged[Cdecl]<void*, uint, void> callback
|
||||
);
|
||||
|
||||
/// <summary>Attach audio stream processor to stream</summary>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void AttachAudioStreamProcessor(
|
||||
AudioStream stream,
|
||||
delegate* unmanaged[Cdecl]<sbyte*, uint, void> processor
|
||||
delegate* unmanaged[Cdecl]<void*, uint, void> processor
|
||||
);
|
||||
|
||||
/// <summary>Detach audio stream processor from stream</summary>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DetachAudioStreamProcessor(
|
||||
AudioStream stream,
|
||||
delegate* unmanaged[Cdecl]<sbyte*, uint, void> processor
|
||||
delegate* unmanaged[Cdecl]<void*, uint, void> processor
|
||||
);
|
||||
|
||||
/// <summary>Attach audio stream processor to the entire audio pipeline</summary>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void AttachAudioMixedProcessor(
|
||||
delegate* unmanaged[Cdecl]<sbyte*, uint, void> processor
|
||||
delegate* unmanaged[Cdecl]<void*, uint, void> processor
|
||||
);
|
||||
|
||||
/// <summary>Detach audio stream processor from the entire audio pipeline</summary>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void DetachAudioMixedProcessor(
|
||||
delegate* unmanaged[Cdecl]<sbyte*, uint, void> processor
|
||||
delegate* unmanaged[Cdecl]<void*, uint, void> processor
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue