mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
Rename CloseAudioStream to UnloadAudioStream
This commit is contained in:
@@ -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)]
|
||||
|
Reference in New Issue
Block a user