Documentation Archive Developer
Search

AudioToolbox Changes for Objective-C

AudioToolbox

AudioConverter.h

Added #def AudioToolbox_AudioConverter_h
Declaration
From
OSStatus AudioConverterConvertBuffer (
    AudioConverterRef inAudioConverter,
    UInt32 inInputDataSize,
    const void *inInputData,
    UInt32 *ioOutputDataSize,
    void *outOutputData
);
To
OSStatus AudioConverterConvertBuffer (
    AudioConverterRef _Nonnull inAudioConverter,
    UInt32 inInputDataSize,
    const void * _Nonnull inInputData,
    UInt32 * _Nonnull ioOutputDataSize,
    void * _Nonnull outOutputData
);

Declaration
From
OSStatus AudioConverterConvertComplexBuffer (
    AudioConverterRef inAudioConverter,
    UInt32 inNumberPCMFrames,
    const AudioBufferList *inInputData,
    AudioBufferList *outOutputData
);
To
OSStatus AudioConverterConvertComplexBuffer (
    AudioConverterRef _Nonnull inAudioConverter,
    UInt32 inNumberPCMFrames,
    const AudioBufferList * _Nonnull inInputData,
    AudioBufferList * _Nonnull outOutputData
);

Declaration
From
OSStatus AudioConverterDispose (
    AudioConverterRef inAudioConverter
);
To
OSStatus AudioConverterDispose (
    AudioConverterRef _Nonnull inAudioConverter
);

Declaration
From
OSStatus AudioConverterFillBuffer (
    AudioConverterRef inAudioConverter,
    AudioConverterInputDataProc inInputDataProc,
    void *inInputDataProcUserData,
    UInt32 *ioOutputDataSize,
    void *outOutputData
);
To
OSStatus AudioConverterFillBuffer (
    AudioConverterRef _Nonnull inAudioConverter,
    AudioConverterInputDataProc _Nonnull inInputDataProc,
    void * _Nullable inInputDataProcUserData,
    UInt32 * _Nonnull ioOutputDataSize,
    void * _Nonnull outOutputData
);

Declaration
From
OSStatus AudioConverterFillComplexBuffer (
    AudioConverterRef inAudioConverter,
    AudioConverterComplexInputDataProc inInputDataProc,
    void *inInputDataProcUserData,
    UInt32 *ioOutputDataPacketSize,
    AudioBufferList *outOutputData,
    AudioStreamPacketDescription *outPacketDescription
);
To
OSStatus AudioConverterFillComplexBuffer (
    AudioConverterRef _Nonnull inAudioConverter,
    AudioConverterComplexInputDataProc _Nonnull inInputDataProc,
    void * _Nullable inInputDataProcUserData,
    UInt32 * _Nonnull ioOutputDataPacketSize,
    AudioBufferList * _Nonnull outOutputData,
    AudioStreamPacketDescription * _Nullable outPacketDescription
);

Declaration
From
OSStatus AudioConverterGetProperty (
    AudioConverterRef inAudioConverter,
    AudioConverterPropertyID inPropertyID,
    UInt32 *ioPropertyDataSize,
    void *outPropertyData
);
To
OSStatus AudioConverterGetProperty (
    AudioConverterRef _Nonnull inAudioConverter,
    AudioConverterPropertyID inPropertyID,
    UInt32 * _Nonnull ioPropertyDataSize,
    void * _Nonnull outPropertyData
);

Declaration
From
OSStatus AudioConverterGetPropertyInfo (
    AudioConverterRef inAudioConverter,
    AudioConverterPropertyID inPropertyID,
    UInt32 *outSize,
    Boolean *outWritable
);
To
OSStatus AudioConverterGetPropertyInfo (
    AudioConverterRef _Nonnull inAudioConverter,
    AudioConverterPropertyID inPropertyID,
    UInt32 * _Nullable outSize,
    Boolean * _Nullable outWritable
);

Declaration
From
OSStatus AudioConverterNew (
    const AudioStreamBasicDescription *inSourceFormat,
    const AudioStreamBasicDescription *inDestinationFormat,
    AudioConverterRef *outAudioConverter
);
To
OSStatus AudioConverterNew (
    const AudioStreamBasicDescription * _Nonnull inSourceFormat,
    const AudioStreamBasicDescription * _Nonnull inDestinationFormat,
    AudioConverterRef  _Nullable * _Nonnull outAudioConverter
);

Declaration
From
OSStatus AudioConverterNewSpecific (
    const AudioStreamBasicDescription *inSourceFormat,
    const AudioStreamBasicDescription *inDestinationFormat,
    UInt32 inNumberClassDescriptions,
    const AudioClassDescription *inClassDescriptions,
    AudioConverterRef *outAudioConverter
);
To
OSStatus AudioConverterNewSpecific (
    const AudioStreamBasicDescription * _Nonnull inSourceFormat,
    const AudioStreamBasicDescription * _Nonnull inDestinationFormat,
    UInt32 inNumberClassDescriptions,
    const AudioClassDescription * _Nonnull inClassDescriptions,
    AudioConverterRef  _Nullable * _Nonnull outAudioConverter
);

Declaration
From
OSStatus AudioConverterReset (
    AudioConverterRef inAudioConverter
);
To
OSStatus AudioConverterReset (
    AudioConverterRef _Nonnull inAudioConverter
);

Declaration
From
OSStatus AudioConverterSetProperty (
    AudioConverterRef inAudioConverter,
    AudioConverterPropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void *inPropertyData
);
To
OSStatus AudioConverterSetProperty (
    AudioConverterRef _Nonnull inAudioConverter,
    AudioConverterPropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void * _Nonnull inPropertyData
);

AudioFile.h

Declaration
From
OSStatus AudioFileClose (
    AudioFileID inAudioFile
);
To
OSStatus AudioFileClose (
    AudioFileID _Nonnull inAudioFile
);

Declaration
From
OSStatus AudioFileCountUserData (
    AudioFileID inAudioFile,
    UInt32 inUserDataID,
    UInt32 *outNumberItems
);
To
OSStatus AudioFileCountUserData (
    AudioFileID _Nonnull inAudioFile,
    UInt32 inUserDataID,
    UInt32 * _Nonnull outNumberItems
);

Declaration
From
OSStatus AudioFileCreate (
    const struct FSRef *inParentRef,
    CFStringRef inFileName,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags,
    struct FSRef *outNewFileRef,
    AudioFileID *outAudioFile
);
To
OSStatus AudioFileCreate (
    const struct FSRef * _Nonnull inParentRef,
    CFStringRef _Nonnull inFileName,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    AudioFileFlags inFlags,
    struct FSRef * _Nonnull outNewFileRef,
    AudioFileID  _Nullable * _Nonnull outAudioFile
);

Declaration
From
OSStatus AudioFileCreateWithURL (
    CFURLRef inFileRef,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags,
    AudioFileID *outAudioFile
);
To
OSStatus AudioFileCreateWithURL (
    CFURLRef _Nonnull inFileRef,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    AudioFileFlags inFlags,
    AudioFileID  _Nullable * _Nonnull outAudioFile
);

Declaration
From
OSStatus AudioFileGetGlobalInfo (
    AudioFilePropertyID inPropertyID,
    UInt32 inSpecifierSize,
    void *inSpecifier,
    UInt32 *ioDataSize,
    void *outPropertyData
);
To
OSStatus AudioFileGetGlobalInfo (
    AudioFilePropertyID inPropertyID,
    UInt32 inSpecifierSize,
    void * _Nullable inSpecifier,
    UInt32 * _Nonnull ioDataSize,
    void * _Nonnull outPropertyData
);

Declaration
From
OSStatus AudioFileGetGlobalInfoSize (
    AudioFilePropertyID inPropertyID,
    UInt32 inSpecifierSize,
    void *inSpecifier,
    UInt32 *outDataSize
);
To
OSStatus AudioFileGetGlobalInfoSize (
    AudioFilePropertyID inPropertyID,
    UInt32 inSpecifierSize,
    void * _Nullable inSpecifier,
    UInt32 * _Nonnull outDataSize
);

Declaration
From
OSStatus AudioFileGetProperty (
    AudioFileID inAudioFile,
    AudioFilePropertyID inPropertyID,
    UInt32 *ioDataSize,
    void *outPropertyData
);
To
OSStatus AudioFileGetProperty (
    AudioFileID _Nonnull inAudioFile,
    AudioFilePropertyID inPropertyID,
    UInt32 * _Nonnull ioDataSize,
    void * _Nonnull outPropertyData
);

Declaration
From
OSStatus AudioFileGetPropertyInfo (
    AudioFileID inAudioFile,
    AudioFilePropertyID inPropertyID,
    UInt32 *outDataSize,
    UInt32 *isWritable
);
To
OSStatus AudioFileGetPropertyInfo (
    AudioFileID _Nonnull inAudioFile,
    AudioFilePropertyID inPropertyID,
    UInt32 * _Nullable outDataSize,
    UInt32 * _Nullable isWritable
);

Declaration
From
OSStatus AudioFileGetUserData (
    AudioFileID inAudioFile,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 *ioUserDataSize,
    void *outUserData
);
To
OSStatus AudioFileGetUserData (
    AudioFileID _Nonnull inAudioFile,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 * _Nonnull ioUserDataSize,
    void * _Nonnull outUserData
);

Declaration
From
OSStatus AudioFileGetUserDataSize (
    AudioFileID inAudioFile,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 *outUserDataSize
);
To
OSStatus AudioFileGetUserDataSize (
    AudioFileID _Nonnull inAudioFile,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 * _Nonnull outUserDataSize
);

Declaration
From
OSStatus AudioFileInitialize (
    const struct FSRef *inFileRef,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags,
    AudioFileID *outAudioFile
);
To
OSStatus AudioFileInitialize (
    const struct FSRef * _Nonnull inFileRef,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    AudioFileFlags inFlags,
    AudioFileID  _Nullable * _Nonnull outAudioFile
);

Declaration
From
OSStatus AudioFileInitializeWithCallbacks (
    void *inClientData,
    AudioFile_ReadProc inReadFunc,
    AudioFile_WriteProc inWriteFunc,
    AudioFile_GetSizeProc inGetSizeFunc,
    AudioFile_SetSizeProc inSetSizeFunc,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags,
    AudioFileID *outAudioFile
);
To
OSStatus AudioFileInitializeWithCallbacks (
    void * _Nonnull inClientData,
    AudioFile_ReadProc _Nonnull inReadFunc,
    AudioFile_WriteProc _Nonnull inWriteFunc,
    AudioFile_GetSizeProc _Nonnull inGetSizeFunc,
    AudioFile_SetSizeProc _Nonnull inSetSizeFunc,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    AudioFileFlags inFlags,
    AudioFileID  _Nullable * _Nonnull outAudioFile
);

Declaration
From
OSStatus AudioFileOpen (
    const struct FSRef *inFileRef,
    SInt8 inPermissions,
    AudioFileTypeID inFileTypeHint,
    AudioFileID *outAudioFile
);
To
OSStatus AudioFileOpen (
    const struct FSRef * _Nonnull inFileRef,
    AudioFilePermissions inPermissions,
    AudioFileTypeID inFileTypeHint,
    AudioFileID  _Nullable * _Nonnull outAudioFile
);

Declaration
From
OSStatus AudioFileOpenURL (
    CFURLRef inFileRef,
    SInt8 inPermissions,
    AudioFileTypeID inFileTypeHint,
    AudioFileID *outAudioFile
);
To
OSStatus AudioFileOpenURL (
    CFURLRef _Nonnull inFileRef,
    AudioFilePermissions inPermissions,
    AudioFileTypeID inFileTypeHint,
    AudioFileID  _Nullable * _Nonnull outAudioFile
);

Declaration
From
OSStatus AudioFileOpenWithCallbacks (
    void *inClientData,
    AudioFile_ReadProc inReadFunc,
    AudioFile_WriteProc inWriteFunc,
    AudioFile_GetSizeProc inGetSizeFunc,
    AudioFile_SetSizeProc inSetSizeFunc,
    AudioFileTypeID inFileTypeHint,
    AudioFileID *outAudioFile
);
To
OSStatus AudioFileOpenWithCallbacks (
    void * _Nonnull inClientData,
    AudioFile_ReadProc _Nonnull inReadFunc,
    AudioFile_WriteProc _Nullable inWriteFunc,
    AudioFile_GetSizeProc _Nonnull inGetSizeFunc,
    AudioFile_SetSizeProc _Nullable inSetSizeFunc,
    AudioFileTypeID inFileTypeHint,
    AudioFileID  _Nullable * _Nonnull outAudioFile
);

Declaration
From
OSStatus AudioFileOptimize (
    AudioFileID inAudioFile
);
To
OSStatus AudioFileOptimize (
    AudioFileID _Nonnull inAudioFile
);

Declaration
From
OSStatus AudioFileReadBytes (
    AudioFileID inAudioFile,
    Boolean inUseCache,
    SInt64 inStartingByte,
    UInt32 *ioNumBytes,
    void *outBuffer
);
To
OSStatus AudioFileReadBytes (
    AudioFileID _Nonnull inAudioFile,
    Boolean inUseCache,
    SInt64 inStartingByte,
    UInt32 * _Nonnull ioNumBytes,
    void * _Nonnull outBuffer
);

Declaration
From
OSStatus AudioFileReadPacketData (
    AudioFileID inAudioFile,
    Boolean inUseCache,
    UInt32 *ioNumBytes,
    AudioStreamPacketDescription *outPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 *ioNumPackets,
    void *outBuffer
);
To
OSStatus AudioFileReadPacketData (
    AudioFileID _Nonnull inAudioFile,
    Boolean inUseCache,
    UInt32 * _Nonnull ioNumBytes,
    AudioStreamPacketDescription * _Nullable outPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 * _Nonnull ioNumPackets,
    void * _Nullable outBuffer
);

Declaration
From
OSStatus AudioFileReadPackets (
    AudioFileID inAudioFile,
    Boolean inUseCache,
    UInt32 *outNumBytes,
    AudioStreamPacketDescription *outPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 *ioNumPackets,
    void *outBuffer
);
To
OSStatus AudioFileReadPackets (
    AudioFileID _Nonnull inAudioFile,
    Boolean inUseCache,
    UInt32 * _Nonnull outNumBytes,
    AudioStreamPacketDescription * _Nullable outPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 * _Nonnull ioNumPackets,
    void * _Nullable outBuffer
);

Declaration
From
OSStatus AudioFileRemoveUserData (
    AudioFileID inAudioFile,
    UInt32 inUserDataID,
    UInt32 inIndex
);
To
OSStatus AudioFileRemoveUserData (
    AudioFileID _Nonnull inAudioFile,
    UInt32 inUserDataID,
    UInt32 inIndex
);

Declaration
From
OSStatus AudioFileSetProperty (
    AudioFileID inAudioFile,
    AudioFilePropertyID inPropertyID,
    UInt32 inDataSize,
    const void *inPropertyData
);
To
OSStatus AudioFileSetProperty (
    AudioFileID _Nonnull inAudioFile,
    AudioFilePropertyID inPropertyID,
    UInt32 inDataSize,
    const void * _Nonnull inPropertyData
);

Declaration
From
OSStatus AudioFileSetUserData (
    AudioFileID inAudioFile,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 inUserDataSize,
    const void *inUserData
);
To
OSStatus AudioFileSetUserData (
    AudioFileID _Nonnull inAudioFile,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 inUserDataSize,
    const void * _Nonnull inUserData
);

Declaration
From
OSStatus AudioFileWriteBytes (
    AudioFileID inAudioFile,
    Boolean inUseCache,
    SInt64 inStartingByte,
    UInt32 *ioNumBytes,
    const void *inBuffer
);
To
OSStatus AudioFileWriteBytes (
    AudioFileID _Nonnull inAudioFile,
    Boolean inUseCache,
    SInt64 inStartingByte,
    UInt32 * _Nonnull ioNumBytes,
    const void * _Nonnull inBuffer
);

Declaration
From
OSStatus AudioFileWritePackets (
    AudioFileID inAudioFile,
    Boolean inUseCache,
    UInt32 inNumBytes,
    const AudioStreamPacketDescription *inPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 *ioNumPackets,
    const void *inBuffer
);
To
OSStatus AudioFileWritePackets (
    AudioFileID _Nonnull inAudioFile,
    Boolean inUseCache,
    UInt32 inNumBytes,
    const AudioStreamPacketDescription * _Nullable inPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 * _Nonnull ioNumPackets,
    const void * _Nonnull inBuffer
);

AudioFileComponent.h

Added #def AudioToolbox_AudioFileComponent_h
Declaration
From
OSStatus AudioFileComponentCloseFile (
    AudioFileComponent inComponent
);
To
OSStatus AudioFileComponentCloseFile (
    AudioFileComponent _Nonnull inComponent
);

Declaration
From
OSStatus AudioFileComponentCountUserData (
    AudioFileComponent inComponent,
    UInt32 inUserDataID,
    UInt32 *outNumberItems
);
To
OSStatus AudioFileComponentCountUserData (
    AudioFileComponent _Nonnull inComponent,
    UInt32 inUserDataID,
    UInt32 * _Nonnull outNumberItems
);

DeclarationDeprecation
From
OSStatus AudioFileComponentCreate (
    AudioFileComponent inComponent,
    const struct FSRef *inParentRef,
    CFStringRef inFileName,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags,
    struct FSRef *outNewFileRef
);
--
To
OSStatus AudioFileComponentCreate (
    AudioFileComponent _Nonnull inComponent,
    const struct FSRef * _Nonnull inParentRef,
    CFStringRef _Nonnull inFileName,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    UInt32 inFlags,
    struct FSRef * _Nonnull outNewFileRef
);
OS X 10.6

Declaration
From
OSStatus AudioFileComponentCreateURL (
    AudioFileComponent inComponent,
    CFURLRef inFileRef,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags
);
To
OSStatus AudioFileComponentCreateURL (
    AudioFileComponent _Nonnull inComponent,
    CFURLRef _Nonnull inFileRef,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    UInt32 inFlags
);

Declaration
From
OSStatus AudioFileComponentDataIsThisFormat (
    AudioFileComponent inComponent,
    void *inClientData,
    AudioFile_ReadProc inReadFunc,
    AudioFile_WriteProc inWriteFunc,
    AudioFile_GetSizeProc inGetSizeFunc,
    AudioFile_SetSizeProc inSetSizeFunc,
    UInt32 *outResult
);
To
OSStatus AudioFileComponentDataIsThisFormat (
    AudioFileComponent _Nonnull inComponent,
    void * _Nullable inClientData,
    AudioFile_ReadProc _Nullable inReadFunc,
    AudioFile_WriteProc _Nullable inWriteFunc,
    AudioFile_GetSizeProc _Nullable inGetSizeFunc,
    AudioFile_SetSizeProc _Nullable inSetSizeFunc,
    UInt32 * _Nonnull outResult
);

Declaration
From
OSStatus AudioFileComponentExtensionIsThisFormat (
    AudioFileComponent inComponent,
    CFStringRef inExtension,
    UInt32 *outResult
);
To
OSStatus AudioFileComponentExtensionIsThisFormat (
    AudioFileComponent _Nonnull inComponent,
    CFStringRef _Nonnull inExtension,
    UInt32 * _Nonnull outResult
);

Declaration
From
OSStatus AudioFileComponentFileDataIsThisFormat (
    AudioFileComponent inComponent,
    UInt32 inDataByteSize,
    const void *inData,
    UInt32 *outResult
);
To
OSStatus AudioFileComponentFileDataIsThisFormat (
    AudioFileComponent _Nonnull inComponent,
    UInt32 inDataByteSize,
    const void * _Nonnull inData,
    UInt32 * _Nonnull outResult
);

Declaration
From
OSStatus AudioFileComponentFileIsThisFormat (
    AudioFileComponent inComponent,
    SInt16 inFileRefNum,
    UInt32 *outResult
);
To
OSStatus AudioFileComponentFileIsThisFormat (
    AudioFileComponent _Nonnull inComponent,
    SInt16 inFileRefNum,
    UInt32 * _Nonnull outResult
);

Declaration
From
OSStatus AudioFileComponentGetGlobalInfo (
    AudioFileComponent inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void *inSpecifier,
    UInt32 *ioPropertyDataSize,
    void *outPropertyData
);
To
OSStatus AudioFileComponentGetGlobalInfo (
    AudioFileComponent _Nonnull inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void * _Nullable inSpecifier,
    UInt32 * _Nonnull ioPropertyDataSize,
    void * _Nonnull outPropertyData
);

Declaration
From
OSStatus AudioFileComponentGetGlobalInfoSize (
    AudioFileComponent inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void *inSpecifier,
    UInt32 *outPropertySize
);
To
OSStatus AudioFileComponentGetGlobalInfoSize (
    AudioFileComponent _Nonnull inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void * _Nullable inSpecifier,
    UInt32 * _Nonnull outPropertySize
);

Declaration
From
OSStatus AudioFileComponentGetProperty (
    AudioFileComponent inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 *ioPropertyDataSize,
    void *outPropertyData
);
To
OSStatus AudioFileComponentGetProperty (
    AudioFileComponent _Nonnull inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 * _Nonnull ioPropertyDataSize,
    void * _Nonnull outPropertyData
);

Declaration
From
OSStatus AudioFileComponentGetPropertyInfo (
    AudioFileComponent inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 *outPropertySize,
    UInt32 *outWritable
);
To
OSStatus AudioFileComponentGetPropertyInfo (
    AudioFileComponent _Nonnull inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 * _Nullable outPropertySize,
    UInt32 * _Nullable outWritable
);

Declaration
From
OSStatus AudioFileComponentGetUserData (
    AudioFileComponent inComponent,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 *ioUserDataSize,
    void *outUserData
);
To
OSStatus AudioFileComponentGetUserData (
    AudioFileComponent _Nonnull inComponent,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 * _Nonnull ioUserDataSize,
    void * _Nonnull outUserData
);

Declaration
From
OSStatus AudioFileComponentGetUserDataSize (
    AudioFileComponent inComponent,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 *outUserDataSize
);
To
OSStatus AudioFileComponentGetUserDataSize (
    AudioFileComponent _Nonnull inComponent,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 * _Nonnull outUserDataSize
);

DeclarationDeprecation
From
OSStatus AudioFileComponentInitialize (
    AudioFileComponent inComponent,
    const struct FSRef *inFileRef,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags
);
--
To
OSStatus AudioFileComponentInitialize (
    AudioFileComponent _Nonnull inComponent,
    const struct FSRef * _Nonnull inFileRef,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    UInt32 inFlags
);
OS X 10.6

Declaration
From
OSStatus AudioFileComponentInitializeWithCallbacks (
    AudioFileComponent inComponent,
    void *inClientData,
    AudioFile_ReadProc inReadFunc,
    AudioFile_WriteProc inWriteFunc,
    AudioFile_GetSizeProc inGetSizeFunc,
    AudioFile_SetSizeProc inSetSizeFunc,
    UInt32 inFileType,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags
);
To
OSStatus AudioFileComponentInitializeWithCallbacks (
    AudioFileComponent _Nonnull inComponent,
    void * _Nonnull inClientData,
    AudioFile_ReadProc _Nonnull inReadFunc,
    AudioFile_WriteProc _Nonnull inWriteFunc,
    AudioFile_GetSizeProc _Nonnull inGetSizeFunc,
    AudioFile_SetSizeProc _Nonnull inSetSizeFunc,
    UInt32 inFileType,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    UInt32 inFlags
);

DeclarationDeprecation
From
OSStatus AudioFileComponentOpenFile (
    AudioFileComponent inComponent,
    const struct FSRef *inFileRef,
    SInt8 inPermissions,
    SInt16 inRefNum
);
--
To
OSStatus AudioFileComponentOpenFile (
    AudioFileComponent _Nonnull inComponent,
    const struct FSRef * _Nonnull inFileRef,
    SInt8 inPermissions,
    SInt16 inRefNum
);
OS X 10.6

Declaration
From
OSStatus AudioFileComponentOpenURL (
    AudioFileComponent inComponent,
    CFURLRef inFileRef,
    SInt8 inPermissions,
    int inFileDescriptor
);
To
OSStatus AudioFileComponentOpenURL (
    AudioFileComponent _Nonnull inComponent,
    CFURLRef _Nonnull inFileRef,
    SInt8 inPermissions,
    int inFileDescriptor
);

Declaration
From
OSStatus AudioFileComponentOpenWithCallbacks (
    AudioFileComponent inComponent,
    void *inClientData,
    AudioFile_ReadProc inReadFunc,
    AudioFile_WriteProc inWriteFunc,
    AudioFile_GetSizeProc inGetSizeFunc,
    AudioFile_SetSizeProc inSetSizeFunc
);
To
OSStatus AudioFileComponentOpenWithCallbacks (
    AudioFileComponent _Nonnull inComponent,
    void * _Nonnull inClientData,
    AudioFile_ReadProc _Nonnull inReadFunc,
    AudioFile_WriteProc _Nonnull inWriteFunc,
    AudioFile_GetSizeProc _Nonnull inGetSizeFunc,
    AudioFile_SetSizeProc _Nonnull inSetSizeFunc
);

Declaration
From
OSStatus AudioFileComponentOptimize (
    AudioFileComponent inComponent
);
To
OSStatus AudioFileComponentOptimize (
    AudioFileComponent _Nonnull inComponent
);

Declaration
From
OSStatus AudioFileComponentReadBytes (
    AudioFileComponent inComponent,
    Boolean inUseCache,
    SInt64 inStartingByte,
    UInt32 *ioNumBytes,
    void *outBuffer
);
To
OSStatus AudioFileComponentReadBytes (
    AudioFileComponent _Nonnull inComponent,
    Boolean inUseCache,
    SInt64 inStartingByte,
    UInt32 * _Nonnull ioNumBytes,
    void * _Nonnull outBuffer
);

Declaration
From
OSStatus AudioFileComponentReadPacketData (
    AudioFileComponent inComponent,
    Boolean inUseCache,
    UInt32 *ioNumBytes,
    AudioStreamPacketDescription *outPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 *ioNumPackets,
    void *outBuffer
);
To
OSStatus AudioFileComponentReadPacketData (
    AudioFileComponent _Nonnull inComponent,
    Boolean inUseCache,
    UInt32 * _Nonnull ioNumBytes,
    AudioStreamPacketDescription * _Nullable outPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 * _Nonnull ioNumPackets,
    void * _Nonnull outBuffer
);

Declaration
From
OSStatus AudioFileComponentReadPackets (
    AudioFileComponent inComponent,
    Boolean inUseCache,
    UInt32 *outNumBytes,
    AudioStreamPacketDescription *outPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 *ioNumPackets,
    void *outBuffer
);
To
OSStatus AudioFileComponentReadPackets (
    AudioFileComponent _Nonnull inComponent,
    Boolean inUseCache,
    UInt32 * _Nonnull outNumBytes,
    AudioStreamPacketDescription * _Nullable outPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 * _Nonnull ioNumPackets,
    void * _Nonnull outBuffer
);

Declaration
From
OSStatus AudioFileComponentRemoveUserData (
    AudioFileComponent inComponent,
    UInt32 inUserDataID,
    UInt32 inIndex
);
To
OSStatus AudioFileComponentRemoveUserData (
    AudioFileComponent _Nonnull inComponent,
    UInt32 inUserDataID,
    UInt32 inIndex
);

Declaration
From
OSStatus AudioFileComponentSetProperty (
    AudioFileComponent inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void *inPropertyData
);
To
OSStatus AudioFileComponentSetProperty (
    AudioFileComponent _Nonnull inComponent,
    AudioFileComponentPropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void * _Nonnull inPropertyData
);

Declaration
From
OSStatus AudioFileComponentSetUserData (
    AudioFileComponent inComponent,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 inUserDataSize,
    const void *inUserData
);
To
OSStatus AudioFileComponentSetUserData (
    AudioFileComponent _Nonnull inComponent,
    UInt32 inUserDataID,
    UInt32 inIndex,
    UInt32 inUserDataSize,
    const void * _Nonnull inUserData
);

Declaration
From
OSStatus AudioFileComponentWriteBytes (
    AudioFileComponent inComponent,
    Boolean inUseCache,
    SInt64 inStartingByte,
    UInt32 *ioNumBytes,
    const void *inBuffer
);
To
OSStatus AudioFileComponentWriteBytes (
    AudioFileComponent _Nonnull inComponent,
    Boolean inUseCache,
    SInt64 inStartingByte,
    UInt32 * _Nonnull ioNumBytes,
    const void * _Nonnull inBuffer
);

Declaration
From
OSStatus AudioFileComponentWritePackets (
    AudioFileComponent inComponent,
    Boolean inUseCache,
    UInt32 inNumBytes,
    const AudioStreamPacketDescription *inPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 *ioNumPackets,
    const void *inBuffer
);
To
OSStatus AudioFileComponentWritePackets (
    AudioFileComponent _Nonnull inComponent,
    Boolean inUseCache,
    UInt32 inNumBytes,
    const AudioStreamPacketDescription * _Nullable inPacketDescriptions,
    SInt64 inStartingPacket,
    UInt32 * _Nonnull ioNumPackets,
    const void * _Nonnull inBuffer
);

IntroductionDeprecation
FromOS X 10.3--
ToOS X 10.4OS X 10.7

IntroductionDeprecation
FromOS X 10.6--
ToOS X 10.4OS X 10.7

AudioFileStream.h

Added #def AudioToolbox_AudioFileStream_h
Declaration
From
OSStatus AudioFileStreamClose (
    AudioFileStreamID inAudioFileStream
);
To
OSStatus AudioFileStreamClose (
    AudioFileStreamID _Nonnull inAudioFileStream
);

Declaration
From
OSStatus AudioFileStreamGetProperty (
    AudioFileStreamID inAudioFileStream,
    AudioFileStreamPropertyID inPropertyID,
    UInt32 *ioPropertyDataSize,
    void *outPropertyData
);
To
OSStatus AudioFileStreamGetProperty (
    AudioFileStreamID _Nonnull inAudioFileStream,
    AudioFileStreamPropertyID inPropertyID,
    UInt32 * _Nonnull ioPropertyDataSize,
    void * _Nonnull outPropertyData
);

Declaration
From
OSStatus AudioFileStreamGetPropertyInfo (
    AudioFileStreamID inAudioFileStream,
    AudioFileStreamPropertyID inPropertyID,
    UInt32 *outPropertyDataSize,
    Boolean *outWritable
);
To
OSStatus AudioFileStreamGetPropertyInfo (
    AudioFileStreamID _Nonnull inAudioFileStream,
    AudioFileStreamPropertyID inPropertyID,
    UInt32 * _Nullable outPropertyDataSize,
    Boolean * _Nullable outWritable
);

Declaration
From
OSStatus AudioFileStreamOpen (
    void *inClientData,
    AudioFileStream_PropertyListenerProc inPropertyListenerProc,
    AudioFileStream_PacketsProc inPacketsProc,
    AudioFileTypeID inFileTypeHint,
    AudioFileStreamID *outAudioFileStream
);
To
OSStatus AudioFileStreamOpen (
    void * _Nullable inClientData,
    AudioFileStream_PropertyListenerProc _Nonnull inPropertyListenerProc,
    AudioFileStream_PacketsProc _Nonnull inPacketsProc,
    AudioFileTypeID inFileTypeHint,
    AudioFileStreamID  _Nullable * _Nonnull outAudioFileStream
);

Declaration
From
OSStatus AudioFileStreamParseBytes (
    AudioFileStreamID inAudioFileStream,
    UInt32 inDataByteSize,
    const void *inData,
    UInt32 inFlags
);
To
OSStatus AudioFileStreamParseBytes (
    AudioFileStreamID _Nonnull inAudioFileStream,
    UInt32 inDataByteSize,
    const void * _Nonnull inData,
    AudioFileStreamParseFlags inFlags
);

Declaration
From
OSStatus AudioFileStreamSeek (
    AudioFileStreamID inAudioFileStream,
    SInt64 inPacketOffset,
    SInt64 *outDataByteOffset,
    UInt32 *ioFlags
);
To
OSStatus AudioFileStreamSeek (
    AudioFileStreamID _Nonnull inAudioFileStream,
    SInt64 inPacketOffset,
    SInt64 * _Nonnull outDataByteOffset,
    AudioFileStreamSeekFlags * _Nonnull ioFlags
);

Declaration
From
OSStatus AudioFileStreamSetProperty (
    AudioFileStreamID inAudioFileStream,
    AudioFileStreamPropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void *inPropertyData
);
To
OSStatus AudioFileStreamSetProperty (
    AudioFileStreamID _Nonnull inAudioFileStream,
    AudioFileStreamPropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void * _Nonnull inPropertyData
);

AudioFormat.h

Added #def AudioToolbox_AudioFormat_h
Declaration
From
OSStatus AudioFormatGetProperty (
    AudioFormatPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void *inSpecifier,
    UInt32 *ioPropertyDataSize,
    void *outPropertyData
);
To
OSStatus AudioFormatGetProperty (
    AudioFormatPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void * _Nullable inSpecifier,
    UInt32 * _Nullable ioPropertyDataSize,
    void * _Nullable outPropertyData
);

Declaration
From
OSStatus AudioFormatGetPropertyInfo (
    AudioFormatPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void *inSpecifier,
    UInt32 *outPropertyDataSize
);
To
OSStatus AudioFormatGetPropertyInfo (
    AudioFormatPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void * _Nullable inSpecifier,
    UInt32 * _Nonnull outPropertyDataSize
);

AudioQueue.h

Added #def AudioToolbox_AudioQueue_h
Declaration
From
OSStatus AudioQueueAddPropertyListener (
    AudioQueueRef inAQ,
    AudioQueuePropertyID inID,
    AudioQueuePropertyListenerProc inProc,
    void *inUserData
);
To
OSStatus AudioQueueAddPropertyListener (
    AudioQueueRef _Nonnull inAQ,
    AudioQueuePropertyID inID,
    AudioQueuePropertyListenerProc _Nonnull inProc,
    void * _Nullable inUserData
);

Declaration
From
OSStatus AudioQueueAllocateBuffer (
    AudioQueueRef inAQ,
    UInt32 inBufferByteSize,
    AudioQueueBufferRef *outBuffer
);
To
OSStatus AudioQueueAllocateBuffer (
    AudioQueueRef _Nonnull inAQ,
    UInt32 inBufferByteSize,
    AudioQueueBufferRef  _Nullable * _Nonnull outBuffer
);

Declaration
From
OSStatus AudioQueueAllocateBufferWithPacketDescriptions (
    AudioQueueRef inAQ,
    UInt32 inBufferByteSize,
    UInt32 inNumberPacketDescriptions,
    AudioQueueBufferRef *outBuffer
);
To
OSStatus AudioQueueAllocateBufferWithPacketDescriptions (
    AudioQueueRef _Nonnull inAQ,
    UInt32 inBufferByteSize,
    UInt32 inNumberPacketDescriptions,
    AudioQueueBufferRef  _Nullable * _Nonnull outBuffer
);

Declaration
From
OSStatus AudioQueueCreateTimeline (
    AudioQueueRef inAQ,
    AudioQueueTimelineRef *outTimeline
);
To
OSStatus AudioQueueCreateTimeline (
    AudioQueueRef _Nonnull inAQ,
    AudioQueueTimelineRef  _Nullable * _Nonnull outTimeline
);

Declaration
From
OSStatus AudioQueueDeviceGetCurrentTime (
    AudioQueueRef inAQ,
    AudioTimeStamp *outTimeStamp
);
To
OSStatus AudioQueueDeviceGetCurrentTime (
    AudioQueueRef _Nonnull inAQ,
    AudioTimeStamp * _Nonnull outTimeStamp
);

Declaration
From
OSStatus AudioQueueDeviceGetNearestStartTime (
    AudioQueueRef inAQ,
    AudioTimeStamp *ioRequestedStartTime,
    UInt32 inFlags
);
To
OSStatus AudioQueueDeviceGetNearestStartTime (
    AudioQueueRef _Nonnull inAQ,
    AudioTimeStamp * _Nonnull ioRequestedStartTime,
    UInt32 inFlags
);

Declaration
From
OSStatus AudioQueueDeviceTranslateTime (
    AudioQueueRef inAQ,
    const AudioTimeStamp *inTime,
    AudioTimeStamp *outTime
);
To
OSStatus AudioQueueDeviceTranslateTime (
    AudioQueueRef _Nonnull inAQ,
    const AudioTimeStamp * _Nonnull inTime,
    AudioTimeStamp * _Nonnull outTime
);

Declaration
From
OSStatus AudioQueueDispose (
    AudioQueueRef inAQ,
    Boolean inImmediate
);
To
OSStatus AudioQueueDispose (
    AudioQueueRef _Nonnull inAQ,
    Boolean inImmediate
);

Declaration
From
OSStatus AudioQueueDisposeTimeline (
    AudioQueueRef inAQ,
    AudioQueueTimelineRef inTimeline
);
To
OSStatus AudioQueueDisposeTimeline (
    AudioQueueRef _Nonnull inAQ,
    AudioQueueTimelineRef _Nonnull inTimeline
);

Declaration
From
OSStatus AudioQueueEnqueueBuffer (
    AudioQueueRef inAQ,
    AudioQueueBufferRef inBuffer,
    UInt32 inNumPacketDescs,
    const AudioStreamPacketDescription *inPacketDescs
);
To
OSStatus AudioQueueEnqueueBuffer (
    AudioQueueRef _Nonnull inAQ,
    AudioQueueBufferRef _Nonnull inBuffer,
    UInt32 inNumPacketDescs,
    const AudioStreamPacketDescription * _Nullable inPacketDescs
);

Declaration
From
OSStatus AudioQueueEnqueueBufferWithParameters (
    AudioQueueRef inAQ,
    AudioQueueBufferRef inBuffer,
    UInt32 inNumPacketDescs,
    const AudioStreamPacketDescription *inPacketDescs,
    UInt32 inTrimFramesAtStart,
    UInt32 inTrimFramesAtEnd,
    UInt32 inNumParamValues,
    const AudioQueueParameterEvent *inParamValues,
    const AudioTimeStamp *inStartTime,
    AudioTimeStamp *outActualStartTime
);
To
OSStatus AudioQueueEnqueueBufferWithParameters (
    AudioQueueRef _Nonnull inAQ,
    AudioQueueBufferRef _Nonnull inBuffer,
    UInt32 inNumPacketDescs,
    const AudioStreamPacketDescription * _Nullable inPacketDescs,
    UInt32 inTrimFramesAtStart,
    UInt32 inTrimFramesAtEnd,
    UInt32 inNumParamValues,
    const AudioQueueParameterEvent * _Nullable inParamValues,
    const AudioTimeStamp * _Nullable inStartTime,
    AudioTimeStamp * _Nullable outActualStartTime
);

Declaration
From
OSStatus AudioQueueFlush (
    AudioQueueRef inAQ
);
To
OSStatus AudioQueueFlush (
    AudioQueueRef _Nonnull inAQ
);

Declaration
From
OSStatus AudioQueueFreeBuffer (
    AudioQueueRef inAQ,
    AudioQueueBufferRef inBuffer
);
To
OSStatus AudioQueueFreeBuffer (
    AudioQueueRef _Nonnull inAQ,
    AudioQueueBufferRef _Nonnull inBuffer
);

Declaration
From
OSStatus AudioQueueGetCurrentTime (
    AudioQueueRef inAQ,
    AudioQueueTimelineRef inTimeline,
    AudioTimeStamp *outTimeStamp,
    Boolean *outTimelineDiscontinuity
);
To
OSStatus AudioQueueGetCurrentTime (
    AudioQueueRef _Nonnull inAQ,
    AudioQueueTimelineRef _Nullable inTimeline,
    AudioTimeStamp * _Nullable outTimeStamp,
    Boolean * _Nullable outTimelineDiscontinuity
);

Declaration
From
OSStatus AudioQueueGetParameter (
    AudioQueueRef inAQ,
    AudioQueueParameterID inParamID,
    AudioQueueParameterValue *outValue
);
To
OSStatus AudioQueueGetParameter (
    AudioQueueRef _Nonnull inAQ,
    AudioQueueParameterID inParamID,
    AudioQueueParameterValue * _Nonnull outValue
);

Declaration
From
OSStatus AudioQueueGetProperty (
    AudioQueueRef inAQ,
    AudioQueuePropertyID inID,
    void *outData,
    UInt32 *ioDataSize
);
To
OSStatus AudioQueueGetProperty (
    AudioQueueRef _Nonnull inAQ,
    AudioQueuePropertyID inID,
    void * _Nonnull outData,
    UInt32 * _Nonnull ioDataSize
);

Declaration
From
OSStatus AudioQueueGetPropertySize (
    AudioQueueRef inAQ,
    AudioQueuePropertyID inID,
    UInt32 *outDataSize
);
To
OSStatus AudioQueueGetPropertySize (
    AudioQueueRef _Nonnull inAQ,
    AudioQueuePropertyID inID,
    UInt32 * _Nonnull outDataSize
);

Declaration
From
OSStatus AudioQueueNewInput (
    const AudioStreamBasicDescription *inFormat,
    AudioQueueInputCallback inCallbackProc,
    void *inUserData,
    CFRunLoopRef inCallbackRunLoop,
    CFStringRef inCallbackRunLoopMode,
    UInt32 inFlags,
    AudioQueueRef *outAQ
);
To
OSStatus AudioQueueNewInput (
    const AudioStreamBasicDescription * _Nonnull inFormat,
    AudioQueueInputCallback _Nonnull inCallbackProc,
    void * _Nullable inUserData,
    CFRunLoopRef _Nullable inCallbackRunLoop,
    CFStringRef _Nullable inCallbackRunLoopMode,
    UInt32 inFlags,
    AudioQueueRef  _Nullable * _Nonnull outAQ
);

Declaration
From
OSStatus AudioQueueNewInputWithDispatchQueue (
    AudioQueueRef *outAQ,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags,
    dispatch_queue_t inCallbackDispatchQueue,
    AudioQueueInputCallbackBlock inCallbackBlock
);
To
OSStatus AudioQueueNewInputWithDispatchQueue (
    AudioQueueRef  _Nullable * _Nonnull outAQ,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    UInt32 inFlags,
    dispatch_queue_t _Nonnull inCallbackDispatchQueue,
    AudioQueueInputCallbackBlock _Nonnull inCallbackBlock
);

Declaration
From
OSStatus AudioQueueNewOutput (
    const AudioStreamBasicDescription *inFormat,
    AudioQueueOutputCallback inCallbackProc,
    void *inUserData,
    CFRunLoopRef inCallbackRunLoop,
    CFStringRef inCallbackRunLoopMode,
    UInt32 inFlags,
    AudioQueueRef *outAQ
);
To
OSStatus AudioQueueNewOutput (
    const AudioStreamBasicDescription * _Nonnull inFormat,
    AudioQueueOutputCallback _Nonnull inCallbackProc,
    void * _Nullable inUserData,
    CFRunLoopRef _Nullable inCallbackRunLoop,
    CFStringRef _Nullable inCallbackRunLoopMode,
    UInt32 inFlags,
    AudioQueueRef  _Nullable * _Nonnull outAQ
);

Declaration
From
OSStatus AudioQueueNewOutputWithDispatchQueue (
    AudioQueueRef *outAQ,
    const AudioStreamBasicDescription *inFormat,
    UInt32 inFlags,
    dispatch_queue_t inCallbackDispatchQueue,
    AudioQueueOutputCallbackBlock inCallbackBlock
);
To
OSStatus AudioQueueNewOutputWithDispatchQueue (
    AudioQueueRef  _Nullable * _Nonnull outAQ,
    const AudioStreamBasicDescription * _Nonnull inFormat,
    UInt32 inFlags,
    dispatch_queue_t _Nonnull inCallbackDispatchQueue,
    AudioQueueOutputCallbackBlock _Nonnull inCallbackBlock
);

Declaration
From
OSStatus AudioQueueOfflineRender (
    AudioQueueRef inAQ,
    const AudioTimeStamp *inTimestamp,
    AudioQueueBufferRef ioBuffer,
    UInt32 inNumberFrames
);
To
OSStatus AudioQueueOfflineRender (
    AudioQueueRef _Nonnull inAQ,
    const AudioTimeStamp * _Nonnull inTimestamp,
    AudioQueueBufferRef _Nonnull ioBuffer,
    UInt32 inNumberFrames
);

Declaration
From
OSStatus AudioQueuePause (
    AudioQueueRef inAQ
);
To
OSStatus AudioQueuePause (
    AudioQueueRef _Nonnull inAQ
);

Declaration
From
OSStatus AudioQueuePrime (
    AudioQueueRef inAQ,
    UInt32 inNumberOfFramesToPrepare,
    UInt32 *outNumberOfFramesPrepared
);
To
OSStatus AudioQueuePrime (
    AudioQueueRef _Nonnull inAQ,
    UInt32 inNumberOfFramesToPrepare,
    UInt32 * _Nullable outNumberOfFramesPrepared
);

Declaration
From
OSStatus AudioQueueProcessingTapDispose (
    AudioQueueProcessingTapRef inAQTap
);
To
OSStatus AudioQueueProcessingTapDispose (
    AudioQueueProcessingTapRef _Nonnull inAQTap
);

Declaration
From
OSStatus AudioQueueProcessingTapGetQueueTime (
    AudioQueueProcessingTapRef inAQTap,
    Float64 *outQueueSampleTime,
    UInt32 *outQueueFrameCount
);
To
OSStatus AudioQueueProcessingTapGetQueueTime (
    AudioQueueProcessingTapRef _Nonnull inAQTap,
    Float64 * _Nonnull outQueueSampleTime,
    UInt32 * _Nonnull outQueueFrameCount
);

Declaration
From
OSStatus AudioQueueProcessingTapGetSourceAudio (
    AudioQueueProcessingTapRef inAQTap,
    UInt32 inNumberFrames,
    AudioTimeStamp *ioTimeStamp,
    UInt32 *outFlags,
    UInt32 *outNumberFrames,
    AudioBufferList *ioData
);
To
OSStatus AudioQueueProcessingTapGetSourceAudio (
    AudioQueueProcessingTapRef _Nonnull inAQTap,
    UInt32 inNumberFrames,
    AudioTimeStamp * _Nonnull ioTimeStamp,
    AudioQueueProcessingTapFlags * _Nonnull outFlags,
    UInt32 * _Nonnull outNumberFrames,
    AudioBufferList * _Nonnull ioData
);

Declaration
From
OSStatus AudioQueueProcessingTapNew (
    AudioQueueRef inAQ,
    AudioQueueProcessingTapCallback inCallback,
    void *inClientData,
    UInt32 inFlags,
    UInt32 *outMaxFrames,
    AudioStreamBasicDescription *outProcessingFormat,
    AudioQueueProcessingTapRef *outAQTap
);
To
OSStatus AudioQueueProcessingTapNew (
    AudioQueueRef _Nonnull inAQ,
    AudioQueueProcessingTapCallback _Nonnull inCallback,
    void * _Nullable inClientData,
    AudioQueueProcessingTapFlags inFlags,
    UInt32 * _Nonnull outMaxFrames,
    AudioStreamBasicDescription * _Nonnull outProcessingFormat,
    AudioQueueProcessingTapRef  _Nullable * _Nonnull outAQTap
);

Declaration
From
OSStatus AudioQueueRemovePropertyListener (
    AudioQueueRef inAQ,
    AudioQueuePropertyID inID,
    AudioQueuePropertyListenerProc inProc,
    void *inUserData
);
To
OSStatus AudioQueueRemovePropertyListener (
    AudioQueueRef _Nonnull inAQ,
    AudioQueuePropertyID inID,
    AudioQueuePropertyListenerProc _Nonnull inProc,
    void * _Nullable inUserData
);

Declaration
From
OSStatus AudioQueueReset (
    AudioQueueRef inAQ
);
To
OSStatus AudioQueueReset (
    AudioQueueRef _Nonnull inAQ
);

Declaration
From
OSStatus AudioQueueSetOfflineRenderFormat (
    AudioQueueRef inAQ,
    const AudioStreamBasicDescription *inFormat,
    const AudioChannelLayout *inLayout
);
To
OSStatus AudioQueueSetOfflineRenderFormat (
    AudioQueueRef _Nonnull inAQ,
    const AudioStreamBasicDescription * _Nullable inFormat,
    const AudioChannelLayout * _Nullable inLayout
);

Declaration
From
OSStatus AudioQueueSetParameter (
    AudioQueueRef inAQ,
    AudioQueueParameterID inParamID,
    AudioQueueParameterValue inValue
);
To
OSStatus AudioQueueSetParameter (
    AudioQueueRef _Nonnull inAQ,
    AudioQueueParameterID inParamID,
    AudioQueueParameterValue inValue
);

Declaration
From
OSStatus AudioQueueSetProperty (
    AudioQueueRef inAQ,
    AudioQueuePropertyID inID,
    const void *inData,
    UInt32 inDataSize
);
To
OSStatus AudioQueueSetProperty (
    AudioQueueRef _Nonnull inAQ,
    AudioQueuePropertyID inID,
    const void * _Nonnull inData,
    UInt32 inDataSize
);

Declaration
From
OSStatus AudioQueueStart (
    AudioQueueRef inAQ,
    const AudioTimeStamp *inStartTime
);
To
OSStatus AudioQueueStart (
    AudioQueueRef _Nonnull inAQ,
    const AudioTimeStamp * _Nullable inStartTime
);

Declaration
From
OSStatus AudioQueueStop (
    AudioQueueRef inAQ,
    Boolean inImmediate
);
To
OSStatus AudioQueueStop (
    AudioQueueRef _Nonnull inAQ,
    Boolean inImmediate
);

AudioServices.h

DeclarationDeprecation
From
OSStatus AudioHardwareServiceAddPropertyListener (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress *inAddress,
    AudioObjectPropertyListenerProc inListener,
    void *inClientData
);
--
To
OSStatus AudioHardwareServiceAddPropertyListener (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress * _Nonnull inAddress,
    AudioObjectPropertyListenerProc _Nonnull inListener,
    void * _Nonnull inClientData
);
OS X 10.11

DeclarationDeprecation
From
OSStatus AudioHardwareServiceGetPropertyData (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress *inAddress,
    UInt32 inQualifierDataSize,
    const void *inQualifierData,
    UInt32 *ioDataSize,
    void *outData
);
--
To
OSStatus AudioHardwareServiceGetPropertyData (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress * _Nonnull inAddress,
    UInt32 inQualifierDataSize,
    const void * _Nonnull inQualifierData,
    UInt32 * _Nonnull ioDataSize,
    void * _Nonnull outData
);
OS X 10.11

DeclarationDeprecation
From
OSStatus AudioHardwareServiceGetPropertyDataSize (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress *inAddress,
    UInt32 inQualifierDataSize,
    const void *inQualifierData,
    UInt32 *outDataSize
);
--
To
OSStatus AudioHardwareServiceGetPropertyDataSize (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress * _Nonnull inAddress,
    UInt32 inQualifierDataSize,
    const void * _Nonnull inQualifierData,
    UInt32 * _Nonnull outDataSize
);
OS X 10.11

DeclarationDeprecation
From
Boolean AudioHardwareServiceHasProperty (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress *inAddress
);
--
To
Boolean AudioHardwareServiceHasProperty (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress * _Nonnull inAddress
);
OS X 10.11

DeclarationDeprecation
From
OSStatus AudioHardwareServiceIsPropertySettable (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress *inAddress,
    Boolean *outIsSettable
);
--
To
OSStatus AudioHardwareServiceIsPropertySettable (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress * _Nonnull inAddress,
    Boolean * _Nonnull outIsSettable
);
OS X 10.11

DeclarationDeprecation
From
OSStatus AudioHardwareServiceRemovePropertyListener (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress *inAddress,
    AudioObjectPropertyListenerProc inListener,
    void *inClientData
);
--
To
OSStatus AudioHardwareServiceRemovePropertyListener (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress * _Nonnull inAddress,
    AudioObjectPropertyListenerProc _Nonnull inListener,
    void * _Nonnull inClientData
);
OS X 10.11

DeclarationDeprecation
From
OSStatus AudioHardwareServiceSetPropertyData (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress *inAddress,
    UInt32 inQualifierDataSize,
    const void *inQualifierData,
    UInt32 inDataSize,
    const void *inData
);
--
To
OSStatus AudioHardwareServiceSetPropertyData (
    AudioObjectID inObjectID,
    const AudioObjectPropertyAddress * _Nonnull inAddress,
    UInt32 inQualifierDataSize,
    const void * _Nonnull inQualifierData,
    UInt32 inDataSize,
    const void * _Nonnull inData
);
OS X 10.11

Declaration
From
OSStatus AudioServicesAddSystemSoundCompletion (
    SystemSoundID inSystemSoundID,
    CFRunLoopRef inRunLoop,
    CFStringRef inRunLoopMode,
    AudioServicesSystemSoundCompletionProc inCompletionRoutine,
    void *inClientData
);
To
OSStatus AudioServicesAddSystemSoundCompletion (
    SystemSoundID inSystemSoundID,
    CFRunLoopRef _Nullable inRunLoop,
    CFStringRef _Nullable inRunLoopMode,
    AudioServicesSystemSoundCompletionProc _Nonnull inCompletionRoutine,
    void * _Nullable inClientData
);

Declaration
From
OSStatus AudioServicesCreateSystemSoundID (
    CFURLRef inFileURL,
    SystemSoundID *outSystemSoundID
);
To
OSStatus AudioServicesCreateSystemSoundID (
    CFURLRef _Nonnull inFileURL,
    SystemSoundID * _Nonnull outSystemSoundID
);

Declaration
From
OSStatus AudioServicesGetProperty (
    AudioServicesPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void *inSpecifier,
    UInt32 *ioPropertyDataSize,
    void *outPropertyData
);
To
OSStatus AudioServicesGetProperty (
    AudioServicesPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void * _Nullable inSpecifier,
    UInt32 * _Nonnull ioPropertyDataSize,
    void * _Nullable outPropertyData
);

Declaration
From
OSStatus AudioServicesGetPropertyInfo (
    AudioServicesPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void *inSpecifier,
    UInt32 *outPropertyDataSize,
    Boolean *outWritable
);
To
OSStatus AudioServicesGetPropertyInfo (
    AudioServicesPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void * _Nullable inSpecifier,
    UInt32 * _Nullable outPropertyDataSize,
    Boolean * _Nullable outWritable
);

Declaration
From
OSStatus AudioServicesSetProperty (
    AudioServicesPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void *inSpecifier,
    UInt32 inPropertyDataSize,
    const void *inPropertyData
);
To
OSStatus AudioServicesSetProperty (
    AudioServicesPropertyID inPropertyID,
    UInt32 inSpecifierSize,
    const void * _Nullable inSpecifier,
    UInt32 inPropertyDataSize,
    const void * _Nonnull inPropertyData
);

AudioToolbox.h

Added #def AudioToolbox_AudioToolbox_h
Modified CAShow()
Declaration
From
void CAShow (
    void *inObject
);
To
void CAShow (
    void * _Nonnull inObject
);

Modified CAShowFile()
Declaration
From
void CAShowFile (
    void *inObject,
    FILE *inFile
);
To
void CAShowFile (
    void * _Nonnull inObject,
    FILE * _Nonnull inFile
);

Declaration
From
OSStatus CopyInstrumentInfoFromSoundBank (
    CFURLRef inURL,
    CFArrayRef *outInstrumentInfo
);
To
OSStatus CopyInstrumentInfoFromSoundBank (
    CFURLRef _Nonnull inURL,
    CFArrayRef  _Nullable * _Nonnull outInstrumentInfo
);

Declaration
From
OSStatus CopyNameFromSoundBank (
    CFURLRef inURL,
    CFStringRef *outName
);
To
OSStatus CopyNameFromSoundBank (
    CFURLRef _Nonnull inURL,
    CFStringRef  _Nullable * _Nonnull outName
);

Declaration
From
OSStatus GetNameFromSoundBank (
    const struct FSRef *inSoundBankRef,
    CFStringRef *outName
);
To
OSStatus GetNameFromSoundBank (
    const struct FSRef * _Nonnull inSoundBankRef,
    CFStringRef  _Nullable * _Nonnull outName
);

AudioUnitUtilities.h

Added #def AudioToolbox_AudioUnitUtilities_h
Declaration
From
OSStatus AUEventListenerAddEventType (
    AUEventListenerRef inListener,
    void *inObject,
    const AudioUnitEvent *inEvent
);
To
OSStatus AUEventListenerAddEventType (
    AUEventListenerRef _Nonnull inListener,
    void * _Nullable inObject,
    const AudioUnitEvent * _Nonnull inEvent
);

Declaration
From
OSStatus AUEventListenerCreate (
    AUEventListenerProc inProc,
    void *inUserData,
    CFRunLoopRef inRunLoop,
    CFStringRef inRunLoopMode,
    Float32 inNotificationInterval,
    Float32 inValueChangeGranularity,
    AUEventListenerRef *outListener
);
To
OSStatus AUEventListenerCreate (
    AUEventListenerProc _Nonnull inProc,
    void * _Nullable inUserData,
    CFRunLoopRef _Nullable inRunLoop,
    CFStringRef _Nullable inRunLoopMode,
    Float32 inNotificationInterval,
    Float32 inValueChangeGranularity,
    AUEventListenerRef  _Nullable * _Nonnull outListener
);

Declaration
From
OSStatus AUEventListenerCreateWithDispatchQueue (
    AUEventListenerRef *outListener,
    Float32 inNotificationInterval,
    Float32 inValueChangeGranularity,
    dispatch_queue_t inDispatchQueue,
    AUEventListenerBlock inBlock
);
To
OSStatus AUEventListenerCreateWithDispatchQueue (
    AUEventListenerRef  _Nullable * _Nonnull outListener,
    Float32 inNotificationInterval,
    Float32 inValueChangeGranularity,
    dispatch_queue_t _Nonnull inDispatchQueue,
    AUEventListenerBlock _Nonnull inBlock
);

Declaration
From
OSStatus AUEventListenerNotify (
    AUEventListenerRef inSendingListener,
    void *inSendingObject,
    const AudioUnitEvent *inEvent
);
To
OSStatus AUEventListenerNotify (
    AUEventListenerRef _Nullable inSendingListener,
    void * _Nullable inSendingObject,
    const AudioUnitEvent * _Nonnull inEvent
);

Declaration
From
OSStatus AUEventListenerRemoveEventType (
    AUEventListenerRef inListener,
    void *inObject,
    const AudioUnitEvent *inEvent
);
To
OSStatus AUEventListenerRemoveEventType (
    AUEventListenerRef _Nonnull inListener,
    void * _Nullable inObject,
    const AudioUnitEvent * _Nonnull inEvent
);

Declaration
From
OSStatus AUListenerAddParameter (
    AUParameterListenerRef inListener,
    void *inObject,
    const AudioUnitParameter *inParameter
);
To
OSStatus AUListenerAddParameter (
    AUParameterListenerRef _Nonnull inListener,
    void * _Nullable inObject,
    const AudioUnitParameter * _Nonnull inParameter
);

Declaration
From
OSStatus AUListenerCreate (
    AUParameterListenerProc inProc,
    void *inUserData,
    CFRunLoopRef inRunLoop,
    CFStringRef inRunLoopMode,
    Float32 inNotificationInterval,
    AUParameterListenerRef *outListener
);
To
OSStatus AUListenerCreate (
    AUParameterListenerProc _Nonnull inProc,
    void * _Nonnull inUserData,
    CFRunLoopRef _Nullable inRunLoop,
    CFStringRef _Nullable inRunLoopMode,
    Float32 inNotificationInterval,
    AUParameterListenerRef  _Nullable * _Nonnull outListener
);

Declaration
From
OSStatus AUListenerCreateWithDispatchQueue (
    AUParameterListenerRef *outListener,
    Float32 inNotificationInterval,
    dispatch_queue_t inDispatchQueue,
    AUParameterListenerBlock inBlock
);
To
OSStatus AUListenerCreateWithDispatchQueue (
    AUParameterListenerRef  _Nullable * _Nonnull outListener,
    Float32 inNotificationInterval,
    dispatch_queue_t _Nonnull inDispatchQueue,
    AUParameterListenerBlock _Nonnull inBlock
);

Declaration
From
OSStatus AUListenerDispose (
    AUParameterListenerRef inListener
);
To
OSStatus AUListenerDispose (
    AUParameterListenerRef _Nonnull inListener
);

Declaration
From
OSStatus AUListenerRemoveParameter (
    AUParameterListenerRef inListener,
    void *inObject,
    const AudioUnitParameter *inParameter
);
To
OSStatus AUListenerRemoveParameter (
    AUParameterListenerRef _Nonnull inListener,
    void * _Nullable inObject,
    const AudioUnitParameter * _Nonnull inParameter
);

Declaration
From
char * AUParameterFormatValue (
    Float64 inParameterValue,
    const AudioUnitParameter *inParameter,
    char *inTextBuffer,
    UInt32 inDigits
);
To
char * _Nonnull AUParameterFormatValue (
    Float64 inParameterValue,
    const AudioUnitParameter * _Nonnull inParameter,
    char * _Nonnull inTextBuffer,
    UInt32 inDigits
);

Declaration
From
OSStatus AUParameterListenerNotify (
    AUParameterListenerRef inSendingListener,
    void *inSendingObject,
    const AudioUnitParameter *inParameter
);
To
OSStatus AUParameterListenerNotify (
    AUParameterListenerRef _Nullable inSendingListener,
    void * _Nullable inSendingObject,
    const AudioUnitParameter * _Nonnull inParameter
);

Declaration
From
OSStatus AUParameterSet (
    AUParameterListenerRef inSendingListener,
    void *inSendingObject,
    const AudioUnitParameter *inParameter,
    AudioUnitParameterValue inValue,
    UInt32 inBufferOffsetInFrames
);
To
OSStatus AUParameterSet (
    AUParameterListenerRef _Nullable inSendingListener,
    void * _Nullable inSendingObject,
    const AudioUnitParameter * _Nonnull inParameter,
    AudioUnitParameterValue inValue,
    UInt32 inBufferOffsetInFrames
);

Declaration
From
AudioUnitParameterValue AUParameterValueFromLinear (
    Float32 inLinearValue,
    const AudioUnitParameter *inParameter
);
To
AudioUnitParameterValue AUParameterValueFromLinear (
    Float32 inLinearValue,
    const AudioUnitParameter * _Nonnull inParameter
);

Declaration
From
Float32 AUParameterValueToLinear (
    AudioUnitParameterValue inParameterValue,
    const AudioUnitParameter *inParameter
);
To
Float32 AUParameterValueToLinear (
    AudioUnitParameterValue inParameterValue,
    const AudioUnitParameter * _Nonnull inParameter
);

AUGraph.h

Added #def AudioToolbox_AUGraph_h
Declaration
From
OSStatus AUGraphAddNode (
    AUGraph inGraph,
    const AudioComponentDescription *inDescription,
    AUNode *outNode
);
To
OSStatus AUGraphAddNode (
    AUGraph _Nonnull inGraph,
    const AudioComponentDescription * _Nonnull inDescription,
    AUNode * _Nonnull outNode
);

Declaration
From
OSStatus AUGraphAddRenderNotify (
    AUGraph inGraph,
    AURenderCallback inCallback,
    void *inRefCon
);
To
OSStatus AUGraphAddRenderNotify (
    AUGraph _Nonnull inGraph,
    AURenderCallback _Nonnull inCallback,
    void * _Nullable inRefCon
);

Declaration
From
OSStatus AUGraphClearConnections (
    AUGraph inGraph
);
To
OSStatus AUGraphClearConnections (
    AUGraph _Nonnull inGraph
);

Declaration
From
OSStatus AUGraphClose (
    AUGraph inGraph
);
To
OSStatus AUGraphClose (
    AUGraph _Nonnull inGraph
);

Declaration
From
OSStatus AUGraphConnectNodeInput (
    AUGraph inGraph,
    AUNode inSourceNode,
    UInt32 inSourceOutputNumber,
    AUNode inDestNode,
    UInt32 inDestInputNumber
);
To
OSStatus AUGraphConnectNodeInput (
    AUGraph _Nonnull inGraph,
    AUNode inSourceNode,
    UInt32 inSourceOutputNumber,
    AUNode inDestNode,
    UInt32 inDestInputNumber
);

Declaration
From
OSStatus AUGraphCountNodeConnections (
    AUGraph inGraph,
    AUNode inNode,
    UInt32 *outNumConnections
);
To
OSStatus AUGraphCountNodeConnections (
    AUGraph _Nonnull inGraph,
    AUNode inNode,
    UInt32 * _Nonnull outNumConnections
);

Declaration
From
OSStatus AUGraphCountNodeInteractions (
    AUGraph inGraph,
    AUNode inNode,
    UInt32 *outNumInteractions
);
To
OSStatus AUGraphCountNodeInteractions (
    AUGraph _Nonnull inGraph,
    AUNode inNode,
    UInt32 * _Nonnull outNumInteractions
);

Declaration
From
OSStatus AUGraphDisconnectNodeInput (
    AUGraph inGraph,
    AUNode inDestNode,
    UInt32 inDestInputNumber
);
To
OSStatus AUGraphDisconnectNodeInput (
    AUGraph _Nonnull inGraph,
    AUNode inDestNode,
    UInt32 inDestInputNumber
);

Declaration
From
OSStatus AUGraphGetConnectionInfo (
    AUGraph inGraph,
    UInt32 inConnectionIndex,
    AUNode *outSourceNode,
    UInt32 *outSourceOutputNumber,
    AUNode *outDestNode,
    UInt32 *outDestInputNumber
);
To
OSStatus AUGraphGetConnectionInfo (
    AUGraph _Nonnull inGraph,
    UInt32 inConnectionIndex,
    AUNode * _Nonnull outSourceNode,
    UInt32 * _Nonnull outSourceOutputNumber,
    AUNode * _Nonnull outDestNode,
    UInt32 * _Nonnull outDestInputNumber
);

Declaration
From
OSStatus AUGraphGetCPULoad (
    AUGraph inGraph,
    Float32 *outAverageCPULoad
);
To
OSStatus AUGraphGetCPULoad (
    AUGraph _Nonnull inGraph,
    Float32 * _Nonnull outAverageCPULoad
);

Declaration
From
OSStatus AUGraphGetIndNode (
    AUGraph inGraph,
    UInt32 inIndex,
    AUNode *outNode
);
To
OSStatus AUGraphGetIndNode (
    AUGraph _Nonnull inGraph,
    UInt32 inIndex,
    AUNode * _Nonnull outNode
);

Declaration
From
OSStatus AUGraphGetInteractionInfo (
    AUGraph inGraph,
    UInt32 inInteractionIndex,
    AUNodeInteraction *outInteraction
);
To
OSStatus AUGraphGetInteractionInfo (
    AUGraph _Nonnull inGraph,
    UInt32 inInteractionIndex,
    AUNodeInteraction * _Nonnull outInteraction
);

Declaration
From
OSStatus AUGraphGetMaxCPULoad (
    AUGraph inGraph,
    Float32 *outMaxLoad
);
To
OSStatus AUGraphGetMaxCPULoad (
    AUGraph _Nonnull inGraph,
    Float32 * _Nonnull outMaxLoad
);

Declaration
From
OSStatus AUGraphGetNodeConnections (
    AUGraph inGraph,
    AUNode inNode,
    AudioUnitNodeConnection *outConnections,
    UInt32 *ioNumConnections
);
To
OSStatus AUGraphGetNodeConnections (
    AUGraph _Nonnull inGraph,
    AUNode inNode,
    AudioUnitNodeConnection * _Nonnull outConnections,
    UInt32 * _Nonnull ioNumConnections
);

Declaration
From
OSStatus AUGraphGetNodeCount (
    AUGraph inGraph,
    UInt32 *outNumberOfNodes
);
To
OSStatus AUGraphGetNodeCount (
    AUGraph _Nonnull inGraph,
    UInt32 * _Nonnull outNumberOfNodes
);

Declaration
From
OSStatus AUGraphGetNodeInfo (
    AUGraph inGraph,
    AUNode inNode,
    struct ComponentDescription *outDescription,
    UInt32 *outClassDataSize,
    void **outClassData,
    AudioUnit *outAudioUnit
);
To
OSStatus AUGraphGetNodeInfo (
    AUGraph _Nonnull inGraph,
    AUNode inNode,
    struct ComponentDescription * _Nonnull outDescription,
    UInt32 * _Nonnull outClassDataSize,
    void * _Nullable * _Nullable outClassData,
    AudioUnit  _Nullable * _Nullable outAudioUnit
);

Declaration
From
OSStatus AUGraphGetNodeInfoSubGraph (
    const AUGraph inGraph,
    AUNode inNode,
    AUGraph *outSubGraph
);
To
OSStatus AUGraphGetNodeInfoSubGraph (
    const AUGraph _Nonnull inGraph,
    AUNode inNode,
    AUGraph  _Nullable * _Nonnull outSubGraph
);

Declaration
From
OSStatus AUGraphGetNodeInteractions (
    AUGraph inGraph,
    AUNode inNode,
    UInt32 *ioNumInteractions,
    AUNodeInteraction *outInteractions
);
To
OSStatus AUGraphGetNodeInteractions (
    AUGraph _Nonnull inGraph,
    AUNode inNode,
    UInt32 * _Nonnull ioNumInteractions,
    AUNodeInteraction * _Nonnull outInteractions
);

Declaration
From
OSStatus AUGraphGetNumberOfConnections (
    AUGraph inGraph,
    UInt32 *outNumConnections
);
To
OSStatus AUGraphGetNumberOfConnections (
    AUGraph _Nonnull inGraph,
    UInt32 * _Nonnull outNumConnections
);

Declaration
From
OSStatus AUGraphGetNumberOfInteractions (
    AUGraph inGraph,
    UInt32 *outNumInteractions
);
To
OSStatus AUGraphGetNumberOfInteractions (
    AUGraph _Nonnull inGraph,
    UInt32 * _Nonnull outNumInteractions
);

Declaration
From
OSStatus AUGraphInitialize (
    AUGraph inGraph
);
To
OSStatus AUGraphInitialize (
    AUGraph _Nonnull inGraph
);

Declaration
From
OSStatus AUGraphIsInitialized (
    AUGraph inGraph,
    Boolean *outIsInitialized
);
To
OSStatus AUGraphIsInitialized (
    AUGraph _Nonnull inGraph,
    Boolean * _Nonnull outIsInitialized
);

Declaration
From
OSStatus AUGraphIsNodeSubGraph (
    const AUGraph inGraph,
    AUNode inNode,
    Boolean *outFlag
);
To
OSStatus AUGraphIsNodeSubGraph (
    const AUGraph _Nonnull inGraph,
    AUNode inNode,
    Boolean * _Nonnull outFlag
);

Declaration
From
OSStatus AUGraphIsOpen (
    AUGraph inGraph,
    Boolean *outIsOpen
);
To
OSStatus AUGraphIsOpen (
    AUGraph _Nonnull inGraph,
    Boolean * _Nonnull outIsOpen
);

Declaration
From
OSStatus AUGraphIsRunning (
    AUGraph inGraph,
    Boolean *outIsRunning
);
To
OSStatus AUGraphIsRunning (
    AUGraph _Nonnull inGraph,
    Boolean * _Nonnull outIsRunning
);

Declaration
From
OSStatus AUGraphNewNode (
    AUGraph inGraph,
    const struct ComponentDescription *inDescription,
    UInt32 inClassDataSize,
    const void *inClassData,
    AUNode *outNode
);
To
OSStatus AUGraphNewNode (
    AUGraph _Nonnull inGraph,
    const struct ComponentDescription * _Nonnull inDescription,
    UInt32 inClassDataSize,
    const void * _Nonnull inClassData,
    AUNode * _Nonnull outNode
);

Declaration
From
OSStatus AUGraphNewNodeSubGraph (
    AUGraph inGraph,
    AUNode *outNode
);
To
OSStatus AUGraphNewNodeSubGraph (
    AUGraph _Nonnull inGraph,
    AUNode * _Nonnull outNode
);

Declaration
From
OSStatus AUGraphNodeInfo (
    AUGraph inGraph,
    AUNode inNode,
    AudioComponentDescription *outDescription,
    AudioUnit *outAudioUnit
);
To
OSStatus AUGraphNodeInfo (
    AUGraph _Nonnull inGraph,
    AUNode inNode,
    AudioComponentDescription * _Nullable outDescription,
    AudioUnit  _Nullable * _Nullable outAudioUnit
);

Modified AUGraphOpen()
Declaration
From
OSStatus AUGraphOpen (
    AUGraph inGraph
);
To
OSStatus AUGraphOpen (
    AUGraph _Nonnull inGraph
);

Declaration
From
OSStatus AUGraphRemoveNode (
    AUGraph inGraph,
    AUNode inNode
);
To
OSStatus AUGraphRemoveNode (
    AUGraph _Nonnull inGraph,
    AUNode inNode
);

Declaration
From
OSStatus AUGraphRemoveRenderNotify (
    AUGraph inGraph,
    AURenderCallback inCallback,
    void *inRefCon
);
To
OSStatus AUGraphRemoveRenderNotify (
    AUGraph _Nonnull inGraph,
    AURenderCallback _Nonnull inCallback,
    void * _Nullable inRefCon
);

Declaration
From
OSStatus AUGraphSetNodeInputCallback (
    AUGraph inGraph,
    AUNode inDestNode,
    UInt32 inDestInputNumber,
    const AURenderCallbackStruct *inInputCallback
);
To
OSStatus AUGraphSetNodeInputCallback (
    AUGraph _Nonnull inGraph,
    AUNode inDestNode,
    UInt32 inDestInputNumber,
    const AURenderCallbackStruct * _Nonnull inInputCallback
);

Declaration
From
OSStatus AUGraphStart (
    AUGraph inGraph
);
To
OSStatus AUGraphStart (
    AUGraph _Nonnull inGraph
);

Modified AUGraphStop()
Declaration
From
OSStatus AUGraphStop (
    AUGraph inGraph
);
To
OSStatus AUGraphStop (
    AUGraph _Nonnull inGraph
);

Declaration
From
OSStatus AUGraphUninitialize (
    AUGraph inGraph
);
To
OSStatus AUGraphUninitialize (
    AUGraph _Nonnull inGraph
);

Declaration
From
OSStatus AUGraphUpdate (
    AUGraph inGraph,
    Boolean *outIsUpdated
);
To
OSStatus AUGraphUpdate (
    AUGraph _Nonnull inGraph,
    Boolean * _Nullable outIsUpdated
);

Declaration
From
OSStatus DisposeAUGraph (
    AUGraph inGraph
);
To
OSStatus DisposeAUGraph (
    AUGraph _Nonnull inGraph
);

Modified NewAUGraph()
Declaration
From
OSStatus NewAUGraph (
    AUGraph *outGraph
);
To
OSStatus NewAUGraph (
    AUGraph  _Nullable * _Nonnull outGraph
);

AUMIDIController.h

Added #def AudioToolbox_AUMIDIController_h

CAFFile.h

Added #def AudioToolbox_CAFFile_h

CoreAudioClock.h

Added #def AudioToolbox_CoreAudioClock_h
Declaration
From
OSStatus CAClockAddListener (
    CAClockRef inCAClock,
    CAClockListenerProc inListenerProc,
    void *inUserData
);
To
OSStatus CAClockAddListener (
    CAClockRef _Nonnull inCAClock,
    CAClockListenerProc _Nonnull inListenerProc,
    void * _Nonnull inUserData
);

Modified CAClockArm()
Declaration
From
OSStatus CAClockArm (
    CAClockRef inCAClock
);
To
OSStatus CAClockArm (
    CAClockRef _Nonnull inCAClock
);

Declaration
From
OSStatus CAClockBarBeatTimeToBeats (
    CAClockRef inCAClock,
    const CABarBeatTime *inBarBeatTime,
    CAClockBeats *outBeats
);
To
OSStatus CAClockBarBeatTimeToBeats (
    CAClockRef _Nonnull inCAClock,
    const CABarBeatTime * _Nonnull inBarBeatTime,
    CAClockBeats * _Nonnull outBeats
);

Declaration
From
OSStatus CAClockBeatsToBarBeatTime (
    CAClockRef inCAClock,
    CAClockBeats inBeats,
    UInt16 inSubbeatDivisor,
    CABarBeatTime *outBarBeatTime
);
To
OSStatus CAClockBeatsToBarBeatTime (
    CAClockRef _Nonnull inCAClock,
    CAClockBeats inBeats,
    UInt16 inSubbeatDivisor,
    CABarBeatTime * _Nonnull outBarBeatTime
);

Declaration
From
OSStatus CAClockDisarm (
    CAClockRef inCAClock
);
To
OSStatus CAClockDisarm (
    CAClockRef _Nonnull inCAClock
);

Declaration
From
OSStatus CAClockDispose (
    CAClockRef inCAClock
);
To
OSStatus CAClockDispose (
    CAClockRef _Nonnull inCAClock
);

Declaration
From
OSStatus CAClockGetCurrentTempo (
    CAClockRef inCAClock,
    CAClockTempo *outTempo,
    CAClockTime *outTimestamp
);
To
OSStatus CAClockGetCurrentTempo (
    CAClockRef _Nonnull inCAClock,
    CAClockTempo * _Nonnull outTempo,
    CAClockTime * _Nullable outTimestamp
);

Declaration
From
OSStatus CAClockGetCurrentTime (
    CAClockRef inCAClock,
    CAClockTimeFormat inTimeFormat,
    CAClockTime *outTime
);
To
OSStatus CAClockGetCurrentTime (
    CAClockRef _Nonnull inCAClock,
    CAClockTimeFormat inTimeFormat,
    CAClockTime * _Nonnull outTime
);

Declaration
From
OSStatus CAClockGetPlayRate (
    CAClockRef inCAClock,
    Float64 *outPlayRate
);
To
OSStatus CAClockGetPlayRate (
    CAClockRef _Nonnull inCAClock,
    Float64 * _Nonnull outPlayRate
);

Declaration
From
OSStatus CAClockGetProperty (
    CAClockRef inCAClock,
    CAClockPropertyID inPropertyID,
    UInt32 *ioPropertyDataSize,
    void *outPropertyData
);
To
OSStatus CAClockGetProperty (
    CAClockRef _Nonnull inCAClock,
    CAClockPropertyID inPropertyID,
    UInt32 * _Nonnull ioPropertyDataSize,
    void * _Nonnull outPropertyData
);

Declaration
From
OSStatus CAClockGetPropertyInfo (
    CAClockRef inCAClock,
    CAClockPropertyID inPropertyID,
    UInt32 *outSize,
    Boolean *outWritable
);
To
OSStatus CAClockGetPropertyInfo (
    CAClockRef _Nonnull inCAClock,
    CAClockPropertyID inPropertyID,
    UInt32 * _Nullable outSize,
    Boolean * _Nullable outWritable
);

Declaration
From
OSStatus CAClockGetStartTime (
    CAClockRef inCAClock,
    CAClockTimeFormat inTimeFormat,
    CAClockTime *outTime
);
To
OSStatus CAClockGetStartTime (
    CAClockRef _Nonnull inCAClock,
    CAClockTimeFormat inTimeFormat,
    CAClockTime * _Nonnull outTime
);

Modified CAClockNew()
Declaration
From
OSStatus CAClockNew (
    UInt32 inReservedFlags,
    CAClockRef *outCAClock
);
To
OSStatus CAClockNew (
    UInt32 inReservedFlags,
    CAClockRef  _Nullable * _Nonnull outCAClock
);

Declaration
From
OSStatus CAClockParseMIDI (
    CAClockRef inCAClock,
    const struct MIDIPacketList *inMIDIPacketList
);
To
OSStatus CAClockParseMIDI (
    CAClockRef _Nonnull inCAClock,
    const struct MIDIPacketList * _Nonnull inMIDIPacketList
);

Declaration
From
OSStatus CAClockRemoveListener (
    CAClockRef inCAClock,
    CAClockListenerProc inListenerProc,
    void *inUserData
);
To
OSStatus CAClockRemoveListener (
    CAClockRef _Nonnull inCAClock,
    CAClockListenerProc _Nonnull inListenerProc,
    void * _Nonnull inUserData
);

Declaration
From
OSStatus CAClockSecondsToSMPTETime (
    CAClockRef inCAClock,
    CAClockSeconds inSeconds,
    UInt16 inSubframeDivisor,
    SMPTETime *outSMPTETime
);
To
OSStatus CAClockSecondsToSMPTETime (
    CAClockRef _Nonnull inCAClock,
    CAClockSeconds inSeconds,
    UInt16 inSubframeDivisor,
    SMPTETime * _Nonnull outSMPTETime
);

Declaration
From
OSStatus CAClockSetCurrentTempo (
    CAClockRef inCAClock,
    CAClockTempo inTempo,
    const CAClockTime *inTimestamp
);
To
OSStatus CAClockSetCurrentTempo (
    CAClockRef _Nonnull inCAClock,
    CAClockTempo inTempo,
    const CAClockTime * _Nullable inTimestamp
);

Declaration
From
OSStatus CAClockSetCurrentTime (
    CAClockRef inCAClock,
    const CAClockTime *inTime
);
To
OSStatus CAClockSetCurrentTime (
    CAClockRef _Nonnull inCAClock,
    const CAClockTime * _Nonnull inTime
);

Declaration
From
OSStatus CAClockSetPlayRate (
    CAClockRef inCAClock,
    Float64 inPlayRate
);
To
OSStatus CAClockSetPlayRate (
    CAClockRef _Nonnull inCAClock,
    Float64 inPlayRate
);

Declaration
From
OSStatus CAClockSetProperty (
    CAClockRef inCAClock,
    CAClockPropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void *inPropertyData
);
To
OSStatus CAClockSetProperty (
    CAClockRef _Nonnull inCAClock,
    CAClockPropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void * _Nonnull inPropertyData
);

Declaration
From
OSStatus CAClockSMPTETimeToSeconds (
    CAClockRef inCAClock,
    const SMPTETime *inSMPTETime,
    CAClockSeconds *outSeconds
);
To
OSStatus CAClockSMPTETimeToSeconds (
    CAClockRef _Nonnull inCAClock,
    const SMPTETime * _Nonnull inSMPTETime,
    CAClockSeconds * _Nonnull outSeconds
);

Declaration
From
OSStatus CAClockStart (
    CAClockRef inCAClock
);
To
OSStatus CAClockStart (
    CAClockRef _Nonnull inCAClock
);

Modified CAClockStop()
Declaration
From
OSStatus CAClockStop (
    CAClockRef inCAClock
);
To
OSStatus CAClockStop (
    CAClockRef _Nonnull inCAClock
);

Declaration
From
OSStatus CAClockTranslateTime (
    CAClockRef inCAClock,
    const CAClockTime *inTime,
    CAClockTimeFormat inOutputTimeFormat,
    CAClockTime *outTime
);
To
OSStatus CAClockTranslateTime (
    CAClockRef _Nonnull inCAClock,
    const CAClockTime * _Nonnull inTime,
    CAClockTimeFormat inOutputTimeFormat,
    CAClockTime * _Nonnull outTime
);

DefaultAudioOutput.h

Added #def AudioToolbox_DefaultAudioOutput_h

ExtendedAudioFile.h

Added #def AudioToolbox_ExtendedAudioFile_h
Declaration
From
OSStatus ExtAudioFileCreateNew (
    const struct FSRef *inParentDir,
    CFStringRef inFileName,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription *inStreamDesc,
    const AudioChannelLayout *inChannelLayout,
    ExtAudioFileRef *outExtAudioFile
);
To
OSStatus ExtAudioFileCreateNew (
    const struct FSRef * _Nonnull inParentDir,
    CFStringRef _Nonnull inFileName,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription * _Nonnull inStreamDesc,
    const AudioChannelLayout * _Nullable inChannelLayout,
    ExtAudioFileRef  _Nullable * _Nonnull outExtAudioFile
);

Declaration
From
OSStatus ExtAudioFileCreateWithURL (
    CFURLRef inURL,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription *inStreamDesc,
    const AudioChannelLayout *inChannelLayout,
    UInt32 inFlags,
    ExtAudioFileRef *outExtAudioFile
);
To
OSStatus ExtAudioFileCreateWithURL (
    CFURLRef _Nonnull inURL,
    AudioFileTypeID inFileType,
    const AudioStreamBasicDescription * _Nonnull inStreamDesc,
    const AudioChannelLayout * _Nullable inChannelLayout,
    UInt32 inFlags,
    ExtAudioFileRef  _Nullable * _Nonnull outExtAudioFile
);

Declaration
From
OSStatus ExtAudioFileDispose (
    ExtAudioFileRef inExtAudioFile
);
To
OSStatus ExtAudioFileDispose (
    ExtAudioFileRef _Nonnull inExtAudioFile
);

Declaration
From
OSStatus ExtAudioFileGetProperty (
    ExtAudioFileRef inExtAudioFile,
    ExtAudioFilePropertyID inPropertyID,
    UInt32 *ioPropertyDataSize,
    void *outPropertyData
);
To
OSStatus ExtAudioFileGetProperty (
    ExtAudioFileRef _Nonnull inExtAudioFile,
    ExtAudioFilePropertyID inPropertyID,
    UInt32 * _Nonnull ioPropertyDataSize,
    void * _Nonnull outPropertyData
);

Declaration
From
OSStatus ExtAudioFileGetPropertyInfo (
    ExtAudioFileRef inExtAudioFile,
    ExtAudioFilePropertyID inPropertyID,
    UInt32 *outSize,
    Boolean *outWritable
);
To
OSStatus ExtAudioFileGetPropertyInfo (
    ExtAudioFileRef _Nonnull inExtAudioFile,
    ExtAudioFilePropertyID inPropertyID,
    UInt32 * _Nullable outSize,
    Boolean * _Nullable outWritable
);

Declaration
From
OSStatus ExtAudioFileOpen (
    const struct FSRef *inFSRef,
    ExtAudioFileRef *outExtAudioFile
);
To
OSStatus ExtAudioFileOpen (
    const struct FSRef * _Nonnull inFSRef,
    ExtAudioFileRef  _Nullable * _Nonnull outExtAudioFile
);

Declaration
From
OSStatus ExtAudioFileOpenURL (
    CFURLRef inURL,
    ExtAudioFileRef *outExtAudioFile
);
To
OSStatus ExtAudioFileOpenURL (
    CFURLRef _Nonnull inURL,
    ExtAudioFileRef  _Nullable * _Nonnull outExtAudioFile
);

Declaration
From
OSStatus ExtAudioFileRead (
    ExtAudioFileRef inExtAudioFile,
    UInt32 *ioNumberFrames,
    AudioBufferList *ioData
);
To
OSStatus ExtAudioFileRead (
    ExtAudioFileRef _Nonnull inExtAudioFile,
    UInt32 * _Nonnull ioNumberFrames,
    AudioBufferList * _Nonnull ioData
);

Declaration
From
OSStatus ExtAudioFileSeek (
    ExtAudioFileRef inExtAudioFile,
    SInt64 inFrameOffset
);
To
OSStatus ExtAudioFileSeek (
    ExtAudioFileRef _Nonnull inExtAudioFile,
    SInt64 inFrameOffset
);

Declaration
From
OSStatus ExtAudioFileSetProperty (
    ExtAudioFileRef inExtAudioFile,
    ExtAudioFilePropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void *inPropertyData
);
To
OSStatus ExtAudioFileSetProperty (
    ExtAudioFileRef _Nonnull inExtAudioFile,
    ExtAudioFilePropertyID inPropertyID,
    UInt32 inPropertyDataSize,
    const void * _Nonnull inPropertyData
);

Declaration
From
OSStatus ExtAudioFileTell (
    ExtAudioFileRef inExtAudioFile,
    SInt64 *outFrameOffset
);
To
OSStatus ExtAudioFileTell (
    ExtAudioFileRef _Nonnull inExtAudioFile,
    SInt64 * _Nonnull outFrameOffset
);

Declaration
From
OSStatus ExtAudioFileWrapAudioFileID (
    AudioFileID inFileID,
    Boolean inForWriting,
    ExtAudioFileRef *outExtAudioFile
);
To
OSStatus ExtAudioFileWrapAudioFileID (
    AudioFileID _Nonnull inFileID,
    Boolean inForWriting,
    ExtAudioFileRef  _Nullable * _Nonnull outExtAudioFile
);

Declaration
From
OSStatus ExtAudioFileWrite (
    ExtAudioFileRef inExtAudioFile,
    UInt32 inNumberFrames,
    const AudioBufferList *ioData
);
To
OSStatus ExtAudioFileWrite (
    ExtAudioFileRef _Nonnull inExtAudioFile,
    UInt32 inNumberFrames,
    const AudioBufferList * _Nonnull ioData
);

Declaration
From
OSStatus ExtAudioFileWriteAsync (
    ExtAudioFileRef inExtAudioFile,
    UInt32 inNumberFrames,
    const AudioBufferList *ioData
);
To
OSStatus ExtAudioFileWriteAsync (
    ExtAudioFileRef _Nonnull inExtAudioFile,
    UInt32 inNumberFrames,
    const AudioBufferList * _Nullable ioData
);

MusicPlayer.h

Declaration
From
OSStatus DisposeMusicEventIterator (
    MusicEventIterator inIterator
);
To
OSStatus DisposeMusicEventIterator (
    MusicEventIterator _Nonnull inIterator
);

Declaration
From
OSStatus DisposeMusicPlayer (
    MusicPlayer inPlayer
);
To
OSStatus DisposeMusicPlayer (
    MusicPlayer _Nonnull inPlayer
);

Declaration
From
OSStatus DisposeMusicSequence (
    MusicSequence inSequence
);
To
OSStatus DisposeMusicSequence (
    MusicSequence _Nonnull inSequence
);

Declaration
From
OSStatus MusicEventIteratorDeleteEvent (
    MusicEventIterator inIterator
);
To
OSStatus MusicEventIteratorDeleteEvent (
    MusicEventIterator _Nonnull inIterator
);

Declaration
From
OSStatus MusicEventIteratorGetEventInfo (
    MusicEventIterator inIterator,
    MusicTimeStamp *outTimeStamp,
    MusicEventType *outEventType,
    const void **outEventData,
    UInt32 *outEventDataSize
);
To
OSStatus MusicEventIteratorGetEventInfo (
    MusicEventIterator _Nonnull inIterator,
    MusicTimeStamp * _Nonnull outTimeStamp,
    MusicEventType * _Nonnull outEventType,
    const void * _Nullable * _Nonnull outEventData,
    UInt32 * _Nonnull outEventDataSize
);

Declaration
From
OSStatus MusicEventIteratorHasCurrentEvent (
    MusicEventIterator inIterator,
    Boolean *outHasCurEvent
);
To
OSStatus MusicEventIteratorHasCurrentEvent (
    MusicEventIterator _Nonnull inIterator,
    Boolean * _Nonnull outHasCurEvent
);

Declaration
From
OSStatus MusicEventIteratorHasNextEvent (
    MusicEventIterator inIterator,
    Boolean *outHasNextEvent
);
To
OSStatus MusicEventIteratorHasNextEvent (
    MusicEventIterator _Nonnull inIterator,
    Boolean * _Nonnull outHasNextEvent
);

Declaration
From
OSStatus MusicEventIteratorHasPreviousEvent (
    MusicEventIterator inIterator,
    Boolean *outHasPrevEvent
);
To
OSStatus MusicEventIteratorHasPreviousEvent (
    MusicEventIterator _Nonnull inIterator,
    Boolean * _Nonnull outHasPrevEvent
);

Declaration
From
OSStatus MusicEventIteratorNextEvent (
    MusicEventIterator inIterator
);
To
OSStatus MusicEventIteratorNextEvent (
    MusicEventIterator _Nonnull inIterator
);

Declaration
From
OSStatus MusicEventIteratorPreviousEvent (
    MusicEventIterator inIterator
);
To
OSStatus MusicEventIteratorPreviousEvent (
    MusicEventIterator _Nonnull inIterator
);

Declaration
From
OSStatus MusicEventIteratorSeek (
    MusicEventIterator inIterator,
    MusicTimeStamp inTimeStamp
);
To
OSStatus MusicEventIteratorSeek (
    MusicEventIterator _Nonnull inIterator,
    MusicTimeStamp inTimeStamp
);

Declaration
From
OSStatus MusicEventIteratorSetEventInfo (
    MusicEventIterator inIterator,
    MusicEventType inEventType,
    const void *inEventData
);
To
OSStatus MusicEventIteratorSetEventInfo (
    MusicEventIterator _Nonnull inIterator,
    MusicEventType inEventType,
    const void * _Nonnull inEventData
);

Declaration
From
OSStatus MusicEventIteratorSetEventTime (
    MusicEventIterator inIterator,
    MusicTimeStamp inTimeStamp
);
To
OSStatus MusicEventIteratorSetEventTime (
    MusicEventIterator _Nonnull inIterator,
    MusicTimeStamp inTimeStamp
);

Declaration
From
OSStatus MusicPlayerGetBeatsForHostTime (
    MusicPlayer inPlayer,
    UInt64 inHostTime,
    MusicTimeStamp *outBeats
);
To
OSStatus MusicPlayerGetBeatsForHostTime (
    MusicPlayer _Nonnull inPlayer,
    UInt64 inHostTime,
    MusicTimeStamp * _Nonnull outBeats
);

Declaration
From
OSStatus MusicPlayerGetHostTimeForBeats (
    MusicPlayer inPlayer,
    MusicTimeStamp inBeats,
    UInt64 *outHostTime
);
To
OSStatus MusicPlayerGetHostTimeForBeats (
    MusicPlayer _Nonnull inPlayer,
    MusicTimeStamp inBeats,
    UInt64 * _Nonnull outHostTime
);

Declaration
From
OSStatus MusicPlayerGetPlayRateScalar (
    MusicPlayer inPlayer,
    Float64 *outScaleRate
);
To
OSStatus MusicPlayerGetPlayRateScalar (
    MusicPlayer _Nonnull inPlayer,
    Float64 * _Nonnull outScaleRate
);

Declaration
From
OSStatus MusicPlayerGetSequence (
    MusicPlayer inPlayer,
    MusicSequence *outSequence
);
To
OSStatus MusicPlayerGetSequence (
    MusicPlayer _Nonnull inPlayer,
    MusicSequence  _Nullable * _Nonnull outSequence
);

Declaration
From
OSStatus MusicPlayerGetTime (
    MusicPlayer inPlayer,
    MusicTimeStamp *outTime
);
To
OSStatus MusicPlayerGetTime (
    MusicPlayer _Nonnull inPlayer,
    MusicTimeStamp * _Nonnull outTime
);

Declaration
From
OSStatus MusicPlayerIsPlaying (
    MusicPlayer inPlayer,
    Boolean *outIsPlaying
);
To
OSStatus MusicPlayerIsPlaying (
    MusicPlayer _Nonnull inPlayer,
    Boolean * _Nonnull outIsPlaying
);

Declaration
From
OSStatus MusicPlayerPreroll (
    MusicPlayer inPlayer
);
To
OSStatus MusicPlayerPreroll (
    MusicPlayer _Nonnull inPlayer
);

Declaration
From
OSStatus MusicPlayerSetPlayRateScalar (
    MusicPlayer inPlayer,
    Float64 inScaleRate
);
To
OSStatus MusicPlayerSetPlayRateScalar (
    MusicPlayer _Nonnull inPlayer,
    Float64 inScaleRate
);

Declaration
From
OSStatus MusicPlayerSetSequence (
    MusicPlayer inPlayer,
    MusicSequence inSequence
);
To
OSStatus MusicPlayerSetSequence (
    MusicPlayer _Nonnull inPlayer,
    MusicSequence _Nonnull inSequence
);

Declaration
From
OSStatus MusicPlayerSetTime (
    MusicPlayer inPlayer,
    MusicTimeStamp inTime
);
To
OSStatus MusicPlayerSetTime (
    MusicPlayer _Nonnull inPlayer,
    MusicTimeStamp inTime
);

Declaration
From
OSStatus MusicPlayerStart (
    MusicPlayer inPlayer
);
To
OSStatus MusicPlayerStart (
    MusicPlayer _Nonnull inPlayer
);

Declaration
From
OSStatus MusicPlayerStop (
    MusicPlayer inPlayer
);
To
OSStatus MusicPlayerStop (
    MusicPlayer _Nonnull inPlayer
);

Declaration
From
OSStatus MusicSequenceBarBeatTimeToBeats (
    MusicSequence inSequence,
    const CABarBeatTime *inBarBeatTime,
    MusicTimeStamp *outBeats
);
To
OSStatus MusicSequenceBarBeatTimeToBeats (
    MusicSequence _Nonnull inSequence,
    const CABarBeatTime * _Nonnull inBarBeatTime,
    MusicTimeStamp * _Nonnull outBeats
);

Declaration
From
OSStatus MusicSequenceBeatsToBarBeatTime (
    MusicSequence inSequence,
    MusicTimeStamp inBeats,
    UInt32 inSubbeatDivisor,
    CABarBeatTime *outBarBeatTime
);
To
OSStatus MusicSequenceBeatsToBarBeatTime (
    MusicSequence _Nonnull inSequence,
    MusicTimeStamp inBeats,
    UInt32 inSubbeatDivisor,
    CABarBeatTime * _Nonnull outBarBeatTime
);

Declaration
From
OSStatus MusicSequenceDisposeTrack (
    MusicSequence inSequence,
    MusicTrack inTrack
);
To
OSStatus MusicSequenceDisposeTrack (
    MusicSequence _Nonnull inSequence,
    MusicTrack _Nonnull inTrack
);

Declaration
From
OSStatus MusicSequenceFileCreate (
    MusicSequence inSequence,
    CFURLRef inFileRef,
    MusicSequenceFileTypeID inFileType,
    MusicSequenceFileFlags inFlags,
    SInt16 inResolution
);
To
OSStatus MusicSequenceFileCreate (
    MusicSequence _Nonnull inSequence,
    CFURLRef _Nonnull inFileRef,
    MusicSequenceFileTypeID inFileType,
    MusicSequenceFileFlags inFlags,
    SInt16 inResolution
);

Declaration
From
OSStatus MusicSequenceFileCreateData (
    MusicSequence inSequence,
    MusicSequenceFileTypeID inFileType,
    MusicSequenceFileFlags inFlags,
    SInt16 inResolution,
    CFDataRef *outData
);
To
OSStatus MusicSequenceFileCreateData (
    MusicSequence _Nonnull inSequence,
    MusicSequenceFileTypeID inFileType,
    MusicSequenceFileFlags inFlags,
    SInt16 inResolution,
    CFDataRef  _Nullable * _Nonnull outData
);

Declaration
From
OSStatus MusicSequenceFileLoad (
    MusicSequence inSequence,
    CFURLRef inFileRef,
    MusicSequenceFileTypeID inFileTypeHint,
    MusicSequenceLoadFlags inFlags
);
To
OSStatus MusicSequenceFileLoad (
    MusicSequence _Nonnull inSequence,
    CFURLRef _Nonnull inFileRef,
    MusicSequenceFileTypeID inFileTypeHint,
    MusicSequenceLoadFlags inFlags
);

Declaration
From
OSStatus MusicSequenceFileLoadData (
    MusicSequence inSequence,
    CFDataRef inData,
    MusicSequenceFileTypeID inFileTypeHint,
    MusicSequenceLoadFlags inFlags
);
To
OSStatus MusicSequenceFileLoadData (
    MusicSequence _Nonnull inSequence,
    CFDataRef _Nonnull inData,
    MusicSequenceFileTypeID inFileTypeHint,
    MusicSequenceLoadFlags inFlags
);

Declaration
From
OSStatus MusicSequenceGetAUGraph (
    MusicSequence inSequence,
    AUGraph *outGraph
);
To
OSStatus MusicSequenceGetAUGraph (
    MusicSequence _Nonnull inSequence,
    AUGraph  _Nullable * _Nonnull outGraph
);

Declaration
From
OSStatus MusicSequenceGetBeatsForSeconds (
    MusicSequence inSequence,
    Float64 inSeconds,
    MusicTimeStamp *outBeats
);
To
OSStatus MusicSequenceGetBeatsForSeconds (
    MusicSequence _Nonnull inSequence,
    Float64 inSeconds,
    MusicTimeStamp * _Nonnull outBeats
);

Declaration
From
OSStatus MusicSequenceGetIndTrack (
    MusicSequence inSequence,
    UInt32 inTrackIndex,
    MusicTrack *outTrack
);
To
OSStatus MusicSequenceGetIndTrack (
    MusicSequence _Nonnull inSequence,
    UInt32 inTrackIndex,
    MusicTrack  _Nullable * _Nonnull outTrack
);

Declaration
From
CFDictionaryRef MusicSequenceGetInfoDictionary (
    MusicSequence inSequence
);
To
CFDictionaryRef _Nonnull MusicSequenceGetInfoDictionary (
    MusicSequence _Nonnull inSequence
);

Declaration
From
OSStatus MusicSequenceGetSecondsForBeats (
    MusicSequence inSequence,
    MusicTimeStamp inBeats,
    Float64 *outSeconds
);
To
OSStatus MusicSequenceGetSecondsForBeats (
    MusicSequence _Nonnull inSequence,
    MusicTimeStamp inBeats,
    Float64 * _Nonnull outSeconds
);

Declaration
From
OSStatus MusicSequenceGetSequenceType (
    MusicSequence inSequence,
    MusicSequenceType *outType
);
To
OSStatus MusicSequenceGetSequenceType (
    MusicSequence _Nonnull inSequence,
    MusicSequenceType * _Nonnull outType
);

Declaration
From
void MusicSequenceGetSMPTEResolution (
    SInt16 inRes,
    SignedByte *fps,
    Byte *ticks
);
To
void MusicSequenceGetSMPTEResolution (
    SInt16 inRes,
    SignedByte * _Nonnull fps,
    Byte * _Nonnull ticks
);

Declaration
From
OSStatus MusicSequenceGetTempoTrack (
    MusicSequence inSequence,
    MusicTrack *outTrack
);
To
OSStatus MusicSequenceGetTempoTrack (
    MusicSequence _Nonnull inSequence,
    MusicTrack  _Nullable * _Nonnull outTrack
);

Declaration
From
OSStatus MusicSequenceGetTrackCount (
    MusicSequence inSequence,
    UInt32 *outNumberOfTracks
);
To
OSStatus MusicSequenceGetTrackCount (
    MusicSequence _Nonnull inSequence,
    UInt32 * _Nonnull outNumberOfTracks
);

Declaration
From
OSStatus MusicSequenceGetTrackIndex (
    MusicSequence inSequence,
    MusicTrack inTrack,
    UInt32 *outTrackIndex
);
To
OSStatus MusicSequenceGetTrackIndex (
    MusicSequence _Nonnull inSequence,
    MusicTrack _Nonnull inTrack,
    UInt32 * _Nonnull outTrackIndex
);

Modified MusicSequenceLoadSMFData()
Declaration
From
OSStatus MusicSequenceLoadSMFData (
    MusicSequence inSequence,
    CFDataRef inData
);
To
OSStatus MusicSequenceLoadSMFData (
    MusicSequence _Nonnull inSequence,
    CFDataRef _Nonnull inData
);

Declaration
From
OSStatus MusicSequenceLoadSMFDataWithFlags (
    MusicSequence inSequence,
    CFDataRef inData,
    MusicSequenceLoadFlags inFlags
);
To
OSStatus MusicSequenceLoadSMFDataWithFlags (
    MusicSequence _Nonnull inSequence,
    CFDataRef _Nonnull inData,
    MusicSequenceLoadFlags inFlags
);

Declaration
From
OSStatus MusicSequenceLoadSMFWithFlags (
    MusicSequence inSequence,
    const struct FSRef *inFileRef,
    MusicSequenceLoadFlags inFlags
);
To
OSStatus MusicSequenceLoadSMFWithFlags (
    MusicSequence _Nonnull inSequence,
    const struct FSRef * _Nonnull inFileRef,
    MusicSequenceLoadFlags inFlags
);

Declaration
From
OSStatus MusicSequenceNewTrack (
    MusicSequence inSequence,
    MusicTrack *outTrack
);
To
OSStatus MusicSequenceNewTrack (
    MusicSequence _Nonnull inSequence,
    MusicTrack  _Nullable * _Nonnull outTrack
);

Declaration
From
OSStatus MusicSequenceReverse (
    MusicSequence inSequence
);
To
OSStatus MusicSequenceReverse (
    MusicSequence _Nonnull inSequence
);

Declaration
From
OSStatus MusicSequenceSaveMIDIFile (
    MusicSequence inSequence,
    const struct FSRef *inParentDirectory,
    CFStringRef inFileName,
    UInt16 inResolution,
    UInt32 inFlags
);
To
OSStatus MusicSequenceSaveMIDIFile (
    MusicSequence _Nonnull inSequence,
    const struct FSRef * _Nonnull inParentDirectory,
    CFStringRef _Nonnull inFileName,
    UInt16 inResolution,
    UInt32 inFlags
);

Declaration
From
OSStatus MusicSequenceSaveSMFData (
    MusicSequence inSequence,
    CFDataRef *outData,
    UInt16 inResolution
);
To
OSStatus MusicSequenceSaveSMFData (
    MusicSequence _Nonnull inSequence,
    CFDataRef  _Nullable * _Nonnull outData,
    UInt16 inResolution
);

Declaration
From
OSStatus MusicSequenceSetAUGraph (
    MusicSequence inSequence,
    AUGraph inGraph
);
To
OSStatus MusicSequenceSetAUGraph (
    MusicSequence _Nonnull inSequence,
    AUGraph _Nullable inGraph
);

Declaration
From
OSStatus MusicSequenceSetMIDIEndpoint (
    MusicSequence inSequence,
    MIDIEndpointRef inEndpoint
);
To
OSStatus MusicSequenceSetMIDIEndpoint (
    MusicSequence _Nonnull inSequence,
    MIDIEndpointRef inEndpoint
);

Declaration
From
OSStatus MusicSequenceSetSequenceType (
    MusicSequence inSequence,
    MusicSequenceType inType
);
To
OSStatus MusicSequenceSetSequenceType (
    MusicSequence _Nonnull inSequence,
    MusicSequenceType inType
);

Declaration
From
OSStatus MusicSequenceSetUserCallback (
    MusicSequence inSequence,
    MusicSequenceUserCallback inCallback,
    void *inClientData
);
To
OSStatus MusicSequenceSetUserCallback (
    MusicSequence _Nonnull inSequence,
    MusicSequenceUserCallback _Nullable inCallback,
    void * _Nullable inClientData
);

Declaration
From
OSStatus MusicTrackClear (
    MusicTrack inTrack,
    MusicTimeStamp inStartTime,
    MusicTimeStamp inEndTime
);
To
OSStatus MusicTrackClear (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inStartTime,
    MusicTimeStamp inEndTime
);

Declaration
From
OSStatus MusicTrackCopyInsert (
    MusicTrack inSourceTrack,
    MusicTimeStamp inSourceStartTime,
    MusicTimeStamp inSourceEndTime,
    MusicTrack inDestTrack,
    MusicTimeStamp inDestInsertTime
);
To
OSStatus MusicTrackCopyInsert (
    MusicTrack _Nonnull inSourceTrack,
    MusicTimeStamp inSourceStartTime,
    MusicTimeStamp inSourceEndTime,
    MusicTrack _Nonnull inDestTrack,
    MusicTimeStamp inDestInsertTime
);

Declaration
From
OSStatus MusicTrackCut (
    MusicTrack inTrack,
    MusicTimeStamp inStartTime,
    MusicTimeStamp inEndTime
);
To
OSStatus MusicTrackCut (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inStartTime,
    MusicTimeStamp inEndTime
);

Declaration
From
OSStatus MusicTrackGetDestMIDIEndpoint (
    MusicTrack inTrack,
    MIDIEndpointRef *outEndpoint
);
To
OSStatus MusicTrackGetDestMIDIEndpoint (
    MusicTrack _Nonnull inTrack,
    MIDIEndpointRef * _Nonnull outEndpoint
);

Declaration
From
OSStatus MusicTrackGetDestNode (
    MusicTrack inTrack,
    AUNode *outNode
);
To
OSStatus MusicTrackGetDestNode (
    MusicTrack _Nonnull inTrack,
    AUNode * _Nonnull outNode
);

Declaration
From
OSStatus MusicTrackGetProperty (
    MusicTrack inTrack,
    UInt32 inPropertyID,
    void *outData,
    UInt32 *ioLength
);
To
OSStatus MusicTrackGetProperty (
    MusicTrack _Nonnull inTrack,
    UInt32 inPropertyID,
    void * _Nonnull outData,
    UInt32 * _Nonnull ioLength
);

Declaration
From
OSStatus MusicTrackGetSequence (
    MusicTrack inTrack,
    MusicSequence *outSequence
);
To
OSStatus MusicTrackGetSequence (
    MusicTrack _Nonnull inTrack,
    MusicSequence  _Nullable * _Nonnull outSequence
);

Declaration
From
OSStatus MusicTrackMerge (
    MusicTrack inSourceTrack,
    MusicTimeStamp inSourceStartTime,
    MusicTimeStamp inSourceEndTime,
    MusicTrack inDestTrack,
    MusicTimeStamp inDestInsertTime
);
To
OSStatus MusicTrackMerge (
    MusicTrack _Nonnull inSourceTrack,
    MusicTimeStamp inSourceStartTime,
    MusicTimeStamp inSourceEndTime,
    MusicTrack _Nonnull inDestTrack,
    MusicTimeStamp inDestInsertTime
);

Declaration
From
OSStatus MusicTrackMoveEvents (
    MusicTrack inTrack,
    MusicTimeStamp inStartTime,
    MusicTimeStamp inEndTime,
    MusicTimeStamp inMoveTime
);
To
OSStatus MusicTrackMoveEvents (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inStartTime,
    MusicTimeStamp inEndTime,
    MusicTimeStamp inMoveTime
);

Declaration
From
OSStatus MusicTrackNewAUPresetEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    const AUPresetEvent *inPresetEvent
);
To
OSStatus MusicTrackNewAUPresetEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    const AUPresetEvent * _Nonnull inPresetEvent
);

Declaration
From
OSStatus MusicTrackNewExtendedControlEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    const ExtendedControlEvent *inInfo
);
To
OSStatus MusicTrackNewExtendedControlEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    const ExtendedControlEvent * _Nonnull inInfo
);

Declaration
From
OSStatus MusicTrackNewExtendedNoteEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    const ExtendedNoteOnEvent *inInfo
);
To
OSStatus MusicTrackNewExtendedNoteEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    const ExtendedNoteOnEvent * _Nonnull inInfo
);

Declaration
From
OSStatus MusicTrackNewExtendedTempoEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    Float64 inBPM
);
To
OSStatus MusicTrackNewExtendedTempoEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    Float64 inBPM
);

Declaration
From
OSStatus MusicTrackNewMetaEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    const MIDIMetaEvent *inMetaEvent
);
To
OSStatus MusicTrackNewMetaEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    const MIDIMetaEvent * _Nonnull inMetaEvent
);

Declaration
From
OSStatus MusicTrackNewMIDIChannelEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    const MIDIChannelMessage *inMessage
);
To
OSStatus MusicTrackNewMIDIChannelEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    const MIDIChannelMessage * _Nonnull inMessage
);

Declaration
From
OSStatus MusicTrackNewMIDINoteEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    const MIDINoteMessage *inMessage
);
To
OSStatus MusicTrackNewMIDINoteEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    const MIDINoteMessage * _Nonnull inMessage
);

Declaration
From
OSStatus MusicTrackNewMIDIRawDataEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    const MIDIRawData *inRawData
);
To
OSStatus MusicTrackNewMIDIRawDataEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    const MIDIRawData * _Nonnull inRawData
);

Declaration
From
OSStatus MusicTrackNewParameterEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    const ParameterEvent *inInfo
);
To
OSStatus MusicTrackNewParameterEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    const ParameterEvent * _Nonnull inInfo
);

Declaration
From
OSStatus MusicTrackNewUserEvent (
    MusicTrack inTrack,
    MusicTimeStamp inTimeStamp,
    const MusicEventUserData *inUserData
);
To
OSStatus MusicTrackNewUserEvent (
    MusicTrack _Nonnull inTrack,
    MusicTimeStamp inTimeStamp,
    const MusicEventUserData * _Nonnull inUserData
);

Declaration
From
OSStatus MusicTrackSetDestMIDIEndpoint (
    MusicTrack inTrack,
    MIDIEndpointRef inEndpoint
);
To
OSStatus MusicTrackSetDestMIDIEndpoint (
    MusicTrack _Nonnull inTrack,
    MIDIEndpointRef inEndpoint
);

Declaration
From
OSStatus MusicTrackSetDestNode (
    MusicTrack inTrack,
    AUNode inNode
);
To
OSStatus MusicTrackSetDestNode (
    MusicTrack _Nonnull inTrack,
    AUNode inNode
);

Declaration
From
OSStatus MusicTrackSetProperty (
    MusicTrack inTrack,
    UInt32 inPropertyID,
    void *inData,
    UInt32 inLength
);
To
OSStatus MusicTrackSetProperty (
    MusicTrack _Nonnull inTrack,
    UInt32 inPropertyID,
    void * _Nonnull inData,
    UInt32 inLength
);

Declaration
From
OSStatus NewMusicEventIterator (
    MusicTrack inTrack,
    MusicEventIterator *outIterator
);
To
OSStatus NewMusicEventIterator (
    MusicTrack _Nonnull inTrack,
    MusicEventIterator  _Nullable * _Nonnull outIterator
);

Declaration
From
OSStatus NewMusicPlayer (
    MusicPlayer *outPlayer
);
To
OSStatus NewMusicPlayer (
    MusicPlayer  _Nullable * _Nonnull outPlayer
);

Declaration
From
OSStatus NewMusicSequence (
    MusicSequence *outSequence
);
To
OSStatus NewMusicSequence (
    MusicSequence  _Nullable * _Nonnull outSequence
);

Declaration
From
OSStatus NewMusicTrackFrom (
    MusicTrack inSourceTrack,
    MusicTimeStamp inSourceStartTime,
    MusicTimeStamp inSourceEndTime,
    MusicTrack *outNewTrack
);
To
OSStatus NewMusicTrackFrom (
    MusicTrack _Nonnull inSourceTrack,
    MusicTimeStamp inSourceStartTime,
    MusicTimeStamp inSourceEndTime,
    MusicTrack  _Nullable * _Nonnull outNewTrack
);