<!--
{
  "documentType" : "article",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/1619493-generator_audio_unit_subtypes",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Generator Audio Unit Subtypes"
}
-->

# Generator Audio Unit Subtypes

Audio units that serve as sound sources.

## Topics

### Constants

[`var kAudioUnitSubType_AudioFilePlayer: UInt32`](/documentation/AudioToolbox/kAudioUnitSubType_AudioFilePlayer-6zi0a)

[`var kAudioUnitSubType_ScheduledSoundPlayer: UInt32`](/documentation/AudioToolbox/kAudioUnitSubType_ScheduledSoundPlayer-55u1s)

A generator unit that can be used to schedule slices of audio to be played at specified times. The audio is scheduled using the time stamps for the render operation and can be scheduled from any thread.



---

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)