AVFoundation watchOS 3.2 to 4.0 API Differences

../Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h
Declaration
From- (nonnull instancetype)initWithPCMFormat:(nonnull AVAudioFormat *)format frameCapacity:(AVAudioFrameCount)frameCapacity
To- (nullable instancetype)initWithPCMFormat:(nonnull AVAudioFormat *)format frameCapacity:(AVAudioFrameCount)frameCapacity

../Frameworks/AVFAudio.framework/Headers/AVAudioChannelLayout.h
Declaration
From- (nonnull instancetype)initWithLayoutTag:(AudioChannelLayoutTag)layoutTag
To- (nullable instancetype)initWithLayoutTag:(AudioChannelLayoutTag)layoutTag

../Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h
Declaration
From- (nonnull instancetype)initFromFormat:(nonnull AVAudioFormat *)fromFormat toFormat:(nonnull AVAudioFormat *)toFormat
To- (nullable instancetype)initFromFormat:(nonnull AVAudioFormat *)fromFormat toFormat:(nonnull AVAudioFormat *)toFormat

Declaration
From@property (nonatomic, retain, nonnull) NSString *sampleRateConverterAlgorithm
To@property (nonatomic, retain, nullable) NSString *sampleRateConverterAlgorithm

../Frameworks/AVFAudio.framework/Headers/AVAudioEngine.h
../Frameworks/AVFAudio.framework/Headers/AVAudioFormat.h
Declaration
From- (nonnull instancetype)initWithStreamDescription:(nonnull const AudioStreamBasicDescription *)asbd
To- (nullable instancetype)initWithStreamDescription:(nonnull const AudioStreamBasicDescription *)asbd

Declaration
From- (nonnull instancetype)initWithStreamDescription:(nonnull const AudioStreamBasicDescription *)asbd channelLayout:(nullable AVAudioChannelLayout *)layout
To- (nullable instancetype)initWithStreamDescription:(nonnull const AudioStreamBasicDescription *)asbd channelLayout:(nullable AVAudioChannelLayout *)layout

Declaration
From- (nonnull instancetype)initStandardFormatWithSampleRate:(double)sampleRate channels:(AVAudioChannelCount)channels
To- (nullable instancetype)initStandardFormatWithSampleRate:(double)sampleRate channels:(AVAudioChannelCount)channels

Declaration
From- (nonnull instancetype)initWithCommonFormat:(AVAudioCommonFormat)format sampleRate:(double)sampleRate channels:(AVAudioChannelCount)channels interleaved:(BOOL)interleaved
To- (nullable instancetype)initWithCommonFormat:(AVAudioCommonFormat)format sampleRate:(double)sampleRate channels:(AVAudioChannelCount)channels interleaved:(BOOL)interleaved

Declaration
From- (nonnull instancetype)initWithSettings:(nonnull NSDictionary<NSString *,id> *)settings
To- (nullable instancetype)initWithSettings:(nonnull NSDictionary<NSString *,id> *)settings

Declaration
From@property (nonatomic, readonly, nullable) const AVAudioChannelLayout *channelLayout
To@property (nonatomic, readonly, nullable) AVAudioChannelLayout *channelLayout

../Frameworks/AVFAudio.framework/Headers/AVAudioIONode.h
../Frameworks/AVFAudio.framework/Headers/AVAudioMixing.h
../Frameworks/AVFAudio.framework/Headers/AVAudioNode.h
Declaration
From- (nonnull NSString *)nameForInputBus:(AVAudioNodeBus)bus
To- (nullable NSString *)nameForInputBus:(AVAudioNodeBus)bus

Declaration
From- (nonnull NSString *)nameForOutputBus:(AVAudioNodeBus)bus
To- (nullable NSString *)nameForOutputBus:(AVAudioNodeBus)bus

../Frameworks/AVFAudio.framework/Headers/AVAudioPlayerNode.h
../Frameworks/AVFAudio.framework/Headers/AVAudioRecorder.h
../Frameworks/AVFAudio.framework/Headers/AVAudioSession.h
Added AVAudioSessionRecordPermissionUndetermined
Added AVAudioSessionRecordPermissionDenied
Added AVAudioSessionRecordPermissionGranted
../Frameworks/AVFAudio.framework/Headers/AVAudioSettings.h
../Frameworks/AVFAudio.framework/Headers/AVAudioTime.h
Declaration
From- (nonnull AVAudioTime *)extrapolateTimeFromAnchor:(nonnull AVAudioTime *)anchorTime
To- (nullable AVAudioTime *)extrapolateTimeFromAnchor:(nonnull AVAudioTime *)anchorTime

../Frameworks/AVFAudio.framework/Headers/AVSpeechSynthesis.h
Declaration
From@property (nonatomic, assign, nullable) id<AVSpeechSynthesizerDelegate> delegate
To@property (nonatomic, weak, nullable) id<AVSpeechSynthesizerDelegate> delegate

AVAssetCache.h
Removed AVAssetCache
AVBase.h
Removed #def AV_GENERIC
Removed #def AV_GENERIC_CLASS
Removed #def AV_PARAMETERIZED_TYPE
AVContentKeySession.h