diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs
index 16f46db..12af31d 100644
--- a/Raylib-cs/interop/Raylib.cs
+++ b/Raylib-cs/interop/Raylib.cs
@@ -2785,9 +2785,9 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Wave WaveCopy(Wave wave);
- /// Crop a wave to defined samples range
+ /// Crop a wave to defined frames range
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
- public static extern void WaveCrop(Wave* wave, int initSample, int finalSample);
+ public static extern void WaveCrop(Wave* wave, int initFrame, int finalFrame);
/// Convert wave data to desired format
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs
index b85a6b5..60df969 100644
--- a/Raylib-cs/types/Raylib.Utils.cs
+++ b/Raylib-cs/types/Raylib.Utils.cs
@@ -1042,12 +1042,12 @@ public static unsafe partial class Raylib
}
}
- /// Crop a wave to defined samples range
- public static void WaveCrop(ref Wave wave, int initSample, int finalSample)
+ /// Crop a wave to defined frames range
+ public static void WaveCrop(ref Wave wave, int initFrame, int finalFrame)
{
fixed (Wave* p = &wave)
{
- WaveCrop(p, initSample, finalSample);
+ WaveCrop(p, initFrame, finalFrame);
}
}