using System; using System.Runtime.InteropServices; namespace Raylib_cs { /// Music stream type (audio file streaming from memory) /// NOTE: Anything longer than ~10 seconds should be streamed [StructLayout(LayoutKind.Sequential)] public struct Music { /// /// Audio stream /// public AudioStream stream; /// /// Total number of samples /// public uint frameCount; /// /// Music looping enable /// public byte looping; /// /// Type of music context (audio filetype) /// public int ctxType; /// /// Audio context data, depends on type (void *) /// public IntPtr ctxData; } }