Rename CloseAudioStream to UnloadAudioStream
This commit is contained in:
parent
2172d43c68
commit
323a48d916
1 changed files with 4 additions and 4 deletions
|
|
@ -2115,15 +2115,15 @@ namespace Raylib_cs
|
|||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern AudioStream LoadAudioStream(uint sampleRate, uint sampleSize, uint channels);
|
||||
|
||||
/// <summary>Unload audio stream and free memory</summary>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void UnloadAudioStream(AudioStream stream);
|
||||
|
||||
/// <summary>Update audio stream buffers with data
|
||||
/// data refers to a const void *</summary>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void UpdateAudioStream(AudioStream stream, IntPtr data, int samplesCount);
|
||||
|
||||
/// <summary>Close audio stream and free memory</summary>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void CloseAudioStream(AudioStream stream);
|
||||
|
||||
/// <summary>Check if any audio stream buffers requires refill</summary>
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
[return: MarshalAs(UnmanagedType.I1)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue