Instance Property

preferredSampleRate

The preferred sample rate, in hertz.

Declaration

@property(readonly) double preferredSampleRate;

Discussion

The value of this property indicates the preferred sample rate set using the setPreferredSampleRate:error: method.

To determine the actual sample rate, query the sampleRate property.

See Also

Working with Audio Device Settings

inputGain

The gain applied to inputs associated with the session.

inputGainSettable

A Boolean value that indicates whether the input gain can be set.

- setInputGain:error:

Changes the input gain to the specified value.

outputVolume

The system wide output volume set by the user.

inputLatency

The latency for audio input, measured in seconds.

outputLatency

The latency for audio output, measured in seconds.

sampleRate

The current audio sample rate, in hertz.

- setPreferredSampleRate:error:

Sets the preferred sample rate for input and output.

IOBufferDuration

The current I/O buffer duration, in seconds.

preferredIOBufferDuration

The preferred I/O buffer duration, in seconds.

- setPreferredIOBufferDuration:error:

Sets the preferred audio I/O buffer duration, in seconds.