AudioServicesCreateSystemSoundID(_:_:)
Creates a system sound object.
Declaration
func AudioServicesCreateSystemSoundID(_ inFileURL: CFURL, _ outSystemSoundID: UnsafeMutablePointer<SystemSoundID>) -> OSStatusParameters
- inFileURL:
The URL of the audio file to play.
- outSystemSoundID:
On output, a system sound object associated with the specified audio file.
Return Value
A result code.