MonoMac.AudioToolbox.AudioSession.PreferredHardwareSampleRate Property
Your desired audio sample rate.

Syntax

public static double PreferredHardwareSampleRate { get; set; }

Value

Remarks

There is no guarantee that you will get the requested sample rate, you can determine the actual number by reading the AudioSession.CurrentHardwareSampleRate property.

If there is an error reading or setting the property, this will raise an MonoMac.AudioToolbox.AudioSessionException.

Requirements

Namespace: MonoMac.AudioToolbox
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0