AudioQueue.MagicCookie Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Audio metadata required by certain formats.
public byte[] MagicCookie { get; set; }
member this.MagicCookie : byte[] with get, set
Property Value
Byte[]
Opaque byte array with a codec-specific token.
Remarks
Certain file format produce a MagicCookie that contains audio metadata. When playing back or recording, you need to copy this magic cookie from the AudioQueue to the AudioFileStream by copying this property to the MagicCookie property.