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. /// /// http://msdn.microsoft.com/en-us/library/windows/desktop/hh968105(v=vs.85).aspx [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; } }