---
title: kAudioQueueProperty_HardwareCodecPolicy
framework: audiotoolbox
role: symbol
role_heading: Global Variable
path: audiotoolbox/kaudioqueueproperty_hardwarecodecpolicy
---

# kAudioQueueProperty_HardwareCodecPolicy

The preferred codec implementation type—hardware or software—for an audio queue. Possible values for this constant are the remaining constants described in this section.

## Declaration

```swift
var kAudioQueueProperty_HardwareCodecPolicy: AudioQueuePropertyID { get }
```

## See Also

### Constants

- [kAudioQueueHardwareCodecPolicy_Default](audiotoolbox/kaudioqueuehardwarecodecpolicy_default.md)
- [kAudioQueueHardwareCodecPolicy_UseSoftwareOnly](audiotoolbox/kaudioqueuehardwarecodecpolicy_usesoftwareonly.md)
- [kAudioQueueHardwareCodecPolicy_UseHardwareOnly](audiotoolbox/kaudioqueuehardwarecodecpolicy_usehardwareonly.md)
- [kAudioQueueHardwareCodecPolicy_PreferSoftware](audiotoolbox/kaudioqueuehardwarecodecpolicy_prefersoftware.md)
- [kAudioQueueHardwareCodecPolicy_PreferHardware](audiotoolbox/kaudioqueuehardwarecodecpolicy_preferhardware.md)
