<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/kAudioConverterErr_HardwareInUse",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@Ea@kAudioConverterErr_HardwareInUse@kAudioConverterErr_HardwareInUse"
  },
  "title" : "kAudioConverterErr_HardwareInUse"
}
-->

# kAudioConverterErr_HardwareInUse

Returned from the [`AudioConverterFillComplexBuffer(_:_:_:_:_:_:)`](/documentation/AudioToolbox/AudioConverterFillComplexBuffer(_:_:_:_:_:_:)) function if the underlying hardware codec has become unavailable, probably due to an audio interruption.

```
var kAudioConverterErr_HardwareInUse: OSStatus { get }
```

## Discussion

On receiving this error, your application must stop calling `AudioConverterFillComplexBuffer`. You can check the value of the [`kAudioConverterPropertyCanResumeFromInterruption`](/documentation/AudioToolbox/kAudioConverterPropertyCanResumeFromInterruption) property to determine if the converter you are using can resume processing after an interruption. If so, then wait for an interruption-ended call from Audio Session Services, reactivate the audio session, and finally resume using the codec.

If the converter cannot resume processing after an interruption, then on interruption you must abandon the conversion, re-instantiate the converter, and perform the conversion again.

---

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)