---
title: kAudioQueueHardwareCodecPolicy_UseSoftwareOnly
framework: audiotoolbox
role: symbol
role_heading: Global Variable
path: audiotoolbox/kaudioqueuehardwarecodecpolicy_usesoftwareonly
---

# kAudioQueueHardwareCodecPolicy_UseSoftwareOnly

The audio queue will use a software codec if one is available.

## Declaration

```swift
var kAudioQueueHardwareCodecPolicy_UseSoftwareOnly: UInt32 { get }
```

## See Also

### Constants

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