Other Functions

The following functions are available globally.

  • Helper function to convert codes for Audio Units - parameter string: Four character string to convert

    Declaration

    Swift

    public func fourCC(_ string: String) -> UInt32

    Parameters

    string

    Four character string to convert

  • Declaration

    Swift

    public func CheckError(_ error: OSStatus)

    Parameters

    error

    OSStatus flag