<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/AudioWorkIntervalCreate",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@F@AudioWorkIntervalCreate"
  },
  "title" : "AudioWorkIntervalCreate"
}
-->

# AudioWorkIntervalCreate

Creates a new interval workgroup for managing real-time audio threads.

```
os_workgroup_interval_tAudioWorkIntervalCreate(const char *name, os_clockid_t clock, os_workgroup_attr_t attr);
```

## Parameters

`name`

An optional name for the workgroup. Use this name to identify the workgroups you create. You may specify `NULL` for this parameter.

`clock`

The clock type to use when specifying time-related values for the workgroup. For a list of possible values, see <doc://com.apple.documentation/documentation/os/os_clockid_t>.

`attr`

Additional attributes to associate with the workgroup. Specify `NULL` for this parameter.

## Return Value

A new interval workgroup object that manages real-time audio threads.

## Discussion

Use this function to create a new workgroup object that your code manages. The returned workgroup object has no associated threads initially. Join one or more threads to the workgroup, and designate one thread to manage the workgroup’s schedule. This designated thread sets the workgroup’s schedule using the <doc://com.apple.documentation/documentation/os/os_workgroup_interval_start>, <doc://com.apple.documentation/documentation/os/os_workgroup_interval_update>, and <doc://com.apple.documentation/documentation/os/os_workgroup_interval_finish> functions.

---

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)