---
title: Audio Services
framework: audiotoolbox
role: collectionGroup
role_heading: API Collection
path: audiotoolbox/audio-services
---

# Audio Services

Play short sounds or trigger a vibration effect on iOS devices with the appropriate hardware.

## Overview

Overview System Sound Services provides a C interface for playing short sounds and for invoking vibration on iOS devices that support vibration. You can use System Sound Services to play short (30 seconds or shorter) sounds. The interface does not provide level, positioning, looping, or timing control, and does not support simultaneous playback: You can play only one sound at a time. You can use System Sound Services to provide audible alerts. On some iOS devices, alerts can include vibration.

## Topics

### Creating and Disposing of System Sound Objects

- [AudioServicesCreateSystemSoundID(_:_:)](audiotoolbox/audioservicescreatesystemsoundid(_:_:).md)
- [AudioServicesDisposeSystemSoundID(_:)](audiotoolbox/audioservicesdisposesystemsoundid(_:).md)
- [SystemSoundID](audiotoolbox/systemsoundid.md)
- [System Sounds](audiotoolbox/1405222-system-sounds.md)
- [Alert Sound Identifiers](audiotoolbox/1618202-alert-sound-identifiers.md)

### Playing Sounds

- [AudioServicesPlayAlertSoundWithCompletion(_:_:)](audiotoolbox/audioservicesplayalertsoundwithcompletion(_:_:).md)
- [AudioServicesPlaySystemSoundWithCompletion(_:_:)](audiotoolbox/audioservicesplaysystemsoundwithcompletion(_:_:).md)
- [AudioServicesPlayAlertSound(_:)](audiotoolbox/audioservicesplayalertsound(_:).md)
- [AudioServicesPlaySystemSound(_:)](audiotoolbox/audioservicesplaysystemsound(_:).md)

### Adding and Removing System Sound Callbacks

- [AudioServicesAddSystemSoundCompletion(_:_:_:_:_:)](audiotoolbox/audioservicesaddsystemsoundcompletion(_:_:_:_:_:).md)
- [AudioServicesRemoveSystemSoundCompletion(_:)](audiotoolbox/audioservicesremovesystemsoundcompletion(_:).md)
- [AudioServicesSystemSoundCompletionProc](audiotoolbox/audioservicessystemsoundcompletionproc.md)

### Managing System Sound Services Properties

- [AudioServicesGetPropertyInfo(_:_:_:_:_:)](audiotoolbox/audioservicesgetpropertyinfo(_:_:_:_:_:).md)
- [AudioServicesGetProperty(_:_:_:_:_:)](audiotoolbox/audioservicesgetproperty(_:_:_:_:_:).md)
- [AudioServicesSetProperty(_:_:_:_:_:)](audiotoolbox/audioservicessetproperty(_:_:_:_:_:).md)
- [AudioServicesPropertyID](audiotoolbox/audioservicespropertyid.md)
- [System Sound Services Property Identifiers](audiotoolbox/1405268-system-sound-services-property-i.md)
- [Audio Hardware Services Properties](audiotoolbox/1405208-audio-hardware-services-properti.md)

### Getting Error Codes

- [Audio Services Errors](audiotoolbox/1405232-audio-services-errors.md)
- [kAudioServicesNoError](audiotoolbox/kaudioservicesnoerror.md)
- [kAudioServicesUnsupportedPropertyError](audiotoolbox/kaudioservicesunsupportedpropertyerror.md)
- [kAudioServicesBadPropertySizeError](audiotoolbox/kaudioservicesbadpropertysizeerror.md)
- [kAudioServicesBadSpecifierSizeError](audiotoolbox/kaudioservicesbadspecifiersizeerror.md)
- [kAudioServicesSystemSoundUnspecifiedError](audiotoolbox/kaudioservicessystemsoundunspecifiederror.md)
- [kAudioServicesSystemSoundClientTimedOutError](audiotoolbox/kaudioservicessystemsoundclienttimedouterror.md)

## See Also

### Playback and Recording

- [Audio Queue Services](audiotoolbox/audio-queue-services.md)
- [Music Player](audiotoolbox/music-player.md)
- [Anchoring sound to a window or volume](audiotoolbox/spatializing-sound-from-a-uiscene.md)
