using System; using System.Runtime.InteropServices; namespace Raylib_cs { /// Wave type, defines audio wave data [StructLayout(LayoutKind.Sequential)] public struct Wave { /// /// Number of samples /// public uint sampleCount; /// /// Frequency (samples per second) /// public uint sampleRate; /// /// Bit depth (bits per sample): 8, 16, 32 (24 not supported) /// public uint sampleSize; /// /// Number of channels (1-mono, 2-stereo) /// public uint channels; /// /// Buffer data pointer (void *) /// public IntPtr data; } }