Instance Property

currentHardwareSampleRate

The audio hardware sample rate, in hertz.

Declaration

@property(readonly) double currentHardwareSampleRate;

Discussion

Obtain the value of this property after activating your audio session. After successful activation, the value of this property does not change while your session remains active.

See Also

Deprecations

- init

Gets a reference to the singleton audio session.

Deprecated
delegate

The delegate object for the audio session.

Deprecated
inputIsAvailable

A Boolean value that indicates whether a hardware audio input path is available (YES), or not (NO).

Deprecated
- setActive:withFlags:error:

Activates or deactivates your app’s audio session; provides flags for use by other audio sessions.

Deprecated
currentHardwareInputNumberOfChannels

The number of audio hardware input channels.

Deprecated
currentHardwareOutputNumberOfChannels

The number of audio hardware output channels.

Deprecated
preferredHardwareSampleRate

The preferred hardware sample rate, in hertz.

Deprecated
- setPreferredHardwareSampleRate:error:

Sets the preferred hardware sample rate for input and output.

Deprecated