diff --git a/Raylib-cs/Raylib.cs b/Raylib-cs/Raylib.cs
index a55365c..189da6f 100644
--- a/Raylib-cs/Raylib.cs
+++ b/Raylib-cs/Raylib.cs
@@ -2115,15 +2115,15 @@ namespace Raylib_cs
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern AudioStream LoadAudioStream(uint sampleRate, uint sampleSize, uint channels);
+ /// Unload audio stream and free memory
+ [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
+ public static extern void UnloadAudioStream(AudioStream stream);
+
/// Update audio stream buffers with data
/// data refers to a const void *
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void UpdateAudioStream(AudioStream stream, IntPtr data, int samplesCount);
- /// Close audio stream and free memory
- [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
- public static extern void CloseAudioStream(AudioStream stream);
-
/// Check if any audio stream buffers requires refill
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
[return: MarshalAs(UnmanagedType.I1)]