<!--
{
  "documentType" : "article",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/1552626-audio-queue-parameters",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Audio Queue Parameters"
}
-->

# Audio Queue Parameters

Identifiers for audio queue parameters.

## Discussion

These parameters apply only to playback audio queues. You can set a playback audio queue parameter in one of two ways:

- Set the value to take effect immediately using the [`AudioQueueSetParameter(_:_:_:)`](/documentation/AudioToolbox/AudioQueueSetParameter(_:_:_:)) function.
- Schedule a value to take effect when a particular audio queue buffer plays. You supply the parameter when you enqueue the buffer. The new value is applied to the audio queue that owns the buffer when that buffer is rendered.

The [`AudioQueueGetParameter(_:_:_:)`](/documentation/AudioToolbox/AudioQueueGetParameter(_:_:_:)) function always returns the current value of the parameter for an audio queue.

## Topics

### Constants

[`var kAudioQueueParam_Volume: AudioQueueParameterID`](/documentation/AudioToolbox/kAudioQueueParam_Volume)

The playback volume for the audio queue, ranging from `0.0` through `1.0` on a linear scale. A value of `0.0` indicates silence; a value of `1.0` (the default) indicates full volume for the audio queue instance.

[`var kAudioQueueParam_PlayRate: AudioQueueParameterID`](/documentation/AudioToolbox/kAudioQueueParam_PlayRate)

The playback rate for the audio queue, in the range `0.5` through `2.0`. A value of `1.0` (the default) specifies that the audio queue should play at its normal rate.

[`var kAudioQueueParam_Pitch: AudioQueueParameterID`](/documentation/AudioToolbox/kAudioQueueParam_Pitch)

The number of cents to pitch-shift the audio queue’s playback, in the range `-2400` through `2400` cents (where 1200 cents corresponds to one musical octave.)

[`var kAudioQueueParam_VolumeRampTime: AudioQueueParameterID`](/documentation/AudioToolbox/kAudioQueueParam_VolumeRampTime)

The number of seconds over which a volume change is ramped.

[`var kAudioQueueParam_Pan: AudioQueueParameterID`](/documentation/AudioToolbox/kAudioQueueParam_Pan)

The stereo panning position of a source. For a monophonic source, panning is determined as follows:



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)