using System; using System.Runtime.InteropServices; namespace NAudio.CoreAudioApi { /// /// The AudioClientProperties structure is used to set the parameters that describe the properties of the client's audio stream. /// /// https://docs.microsoft.com/en-us/windows/win32/api/audioclient/ns-audioclient-audioclientproperties-r1 [StructLayout(LayoutKind.Sequential)] public struct AudioClientProperties { /// /// The size of the buffer for the audio stream. /// public UInt32 cbSize; /// /// Boolean value to indicate whether or not the audio stream is hardware-offloaded /// public int bIsOffload; /// /// An enumeration that is used to specify the category of the audio stream. /// public AudioStreamCategory eCategory; /// /// A bit-field describing the characteristics of the stream. Supported in Windows 8.1 and later. /// public AudioClientStreamOptions Options; } }