API Differences in AVFAudio in macOS 14.0

It can be difficult to find what changed in Apple SDKs. These pages are algorithmically generated and show what is new in AVFAudio in the macOS 14.0 SDK.

Table of Contents

Classes

AVAudioApplication

Structs

struct AVAudioVoiceProcessingOtherAudioDuckingConfiguration { BOOL enableAdvancedDucking; AVAudioVoiceProcessingOtherAudioDuckingLevel duckingLevel; }
struct AVAudioVoiceProcessingOtherAudioDuckingConfiguration { BOOL enableAdvancedDucking; AVAudioVoiceProcessingOtherAudioDuckingLevel duckingLevel; }

Typealiases

typedef struct AVAudioVoiceProcessingOtherAudioDuckingConfiguration AVAudioVoiceProcessingOtherAudioDuckingConfiguration

Functions & Methods

AVSpeechSynthesizer
+ (void)requestPersonalVoiceAuthorizationWithCompletionHandler:(nonnull void (^)(AVSpeechSynthesisPersonalVoiceAuthorizationStatus))handler;
- (void)speechSynthesizer:(nonnull AVSpeechSynthesizer *)synthesizer willSpeakMarker:(nonnull AVSpeechSynthesisMarker *)marker utterance:(nonnull AVSpeechUtterance *)utterance;
AVAudioInputNode
- (BOOL)setMutedSpeechActivityEventListener:(nullable void (^)(AVAudioVoiceProcessingSpeechActivityEvent))listenerBlock;

Properties & Constants

extern NSNotificationName _Nonnull AVSpeechSynthesisAvailableVoicesDidChangeNotification
AVSpeechSynthesisVoice
@property(nonatomic, readonly) AVSpeechSynthesisVoiceTraits voiceTraits;
AVSpeechSynthesizer
@property(class, nonatomic, readonly) AVSpeechSynthesisPersonalVoiceAuthorizationStatus personalVoiceAuthorizationStatus;
AVSpeechSynthesisMarker
@property(nonatomic, copy, readwrite) NS_AVAILABLE(14_0, 17_0) NSString *bookmarkName;
AVSpeechSynthesisMarker
@property(nonatomic, copy, readwrite) NS_AVAILABLE(14_0, 17_0) NSString *phoneme;
extern NS_SWIFT_NAME(AVAudioApplication.inputMuteStateChangeNotification) const NSNotificationName AVAudioApplicationInputMuteStateChangeNotification
extern NS_SWIFT_NAME(AVAudioApplication.muteStateKey) NSString *const AVAudioApplicationMuteStateKey
AVAudioInputNode
@property(nonatomic, assign, unsafe_unretained, readwrite) AVAudioVoiceProcessingOtherAudioDuckingConfiguration voiceProcessingOtherAudioDuckingConfiguration;

Initializers

AVSpeechSynthesisMarker
- (nonnull instancetype)initWithWordRange:(NSRange)range atByteSampleOffset:(NSInteger)byteSampleOffset;
AVSpeechSynthesisMarker
- (nonnull instancetype)initWithSentenceRange:(NSRange)range atByteSampleOffset:(NSInteger)byteSampleOffset;
AVSpeechSynthesisMarker
- (nonnull instancetype)initWithParagraphRange:(NSRange)range atByteSampleOffset:(NSInteger)byteSampleOffset;
AVSpeechSynthesisMarker
- (nonnull instancetype)initWithPhonemeString:(nonnull NSString *)phoneme atByteSampleOffset:(NSInteger)byteSampleOffset;
AVSpeechSynthesisMarker
- (nonnull instancetype)initWithBookmarkName:(nonnull NSString *)mark atByteSampleOffset:(NSInteger)byteSampleOffset;