Cargo Features

[dependencies]
objc2-avf-audio = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "objc2-audio-toolbox", "objc2-core-audio-types", "objc2-core-media", "objc2-core-midi", "AVAudioApplication", "AVAudioBuffer", "AVAudioChannelLayout", "AVAudioConnectionPoint", "AVAudioConverter", "AVAudioEngine", "AVAudioEnvironmentNode", "AVAudioFile", "AVAudioFormat", "AVAudioIONode", "AVAudioMixing", "AVAudioNode", "AVAudioPlayer", "AVAudioPlayerNode", "AVAudioRecorder", "AVAudioRoutingArbiter", "AVAudioSequencer", "AVAudioSession", "AVAudioSessionDeprecated", "AVAudioSessionRoute", "AVAudioSessionTypes", "AVAudioSettings", "AVAudioSourceNode", "AVAudioTime", "AVAudioTypes", "AVAudioUnit", "AVAudioUnitComponent", "AVAudioUnitDelay", "AVAudioUnitDistortion", "AVAudioUnitEQ", "AVAudioUnitGenerator", "AVAudioUnitMIDIInstrument", "AVAudioUnitReverb", "AVAudioUnitSampler", "AVAudioUnitTimePitch", "AVAudioUnitVarispeed", "AVMIDIPlayer", "AVMusicEvents", "AVSpeechSynthesis", "AVSpeechSynthesisProvider"] }
default = AVAudioApplication, AVAudioBuffer, AVAudioChannelLayout, AVAudioConnectionPoint, AVAudioConverter, AVAudioEngine, AVAudioEnvironmentNode, AVAudioFile, AVAudioFormat, AVAudioIONode, AVAudioMixerNode, AVAudioMixing, AVAudioNode, AVAudioPlayer, AVAudioPlayerNode, AVAudioRecorder, AVAudioRoutingArbiter, AVAudioSequencer, AVAudioSession, AVAudioSessionDeprecated, AVAudioSessionRoute, AVAudioSessionTypes, AVAudioSettings, AVAudioSinkNode, AVAudioSourceNode, AVAudioTime, AVAudioTypes, AVAudioUnit, AVAudioUnitComponent, AVAudioUnitDelay, AVAudioUnitDistortion, AVAudioUnitEQ, AVAudioUnitEffect, AVAudioUnitGenerator, AVAudioUnitMIDIInstrument, AVAudioUnitReverb, AVAudioUnitSampler, AVAudioUnitTimeEffect, AVAudioUnitTimePitch, AVAudioUnitVarispeed, AVMIDIPlayer, AVMusicEvents, AVSpeechSynthesis, AVSpeechSynthesisProvider, bitflags, block2, objc2-audio-toolbox, objc2-core-audio-types, std

These default features are set whenever objc2-avf-audio is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
bitflags default AVAudioPlayerNode AVAudioSequencer AVAudioSessionTypes AVSpeechSynthesis

Enables bitflags

block2 default

Enables block2

Affects AVAudioPlayerNode::AVAudioPlayerNodeCompletionHandler, AVAudioTypes::AVAudioNodeCompletionHandler, AVMIDIPlayer::AVMIDIPlayerCompletionHandler, AVSpeechSynthesis::AVSpeechSynthesizerMarkerCallback, AVAudioSequencer::AVAudioSequencerUserCallback, AVSpeechSynthesis::AVSpeechSynthesizerBufferCallback, AVSpeechSynthesisProvider::AVSpeechSynthesisProviderOutputBlock, AVAudioConverter::AVAudioConverterInputBlock, AVAudioEngine::AVAudioEngineManualRenderingBlock, AVAudioIONode::AVAudioIONodeInputBlock, AVAudioNode::AVAudioNodeTapBlock, AVAudioSequencer::AVMusicEventEnumerationBlock, AVAudioSinkNode::AVAudioSinkNodeReceiverBlock, AVAudioSourceNode::AVAudioSourceNodeRenderBlock

objc2-audio-toolbox default

Enables objc2-audio-toolbox

objc2-core-audio-types default

Enables objc2-core-audio-types

Affects AVAudioEngine::AVAudioEngineManualRenderingBlock, AVAudioIONode::AVAudioIONodeInputBlock, AVAudioSinkNode::AVAudioSinkNodeReceiverBlock, AVAudioSourceNode::AVAudioSourceNodeRenderBlock

objc2-core-media

Enables objc2-core-media

objc2-core-midi

Enables objc2-core-midi

AVAudioApplication default

Enables NSError, NSNotification and NSString of objc2-foundation

AVAudioBuffer default

Enables NSObject of objc2-foundation

Affects AVSpeechSynthesis::AVSpeechSynthesizerBufferCallback, AVAudioConverter::AVAudioConverterInputBlock, AVAudioNode::AVAudioNodeTapBlock

AVAudioChannelLayout default

Enables NSObject of objc2-foundation

AVAudioConnectionPoint default
AVAudioConverter default

Enables NSArray, NSData, NSError, NSString and NSValue of objc2-foundation

AVAudioEngine default

Enables NSArray, NSError, NSSet and NSString of objc2-foundation

AVAudioEnvironmentNode default

Enables NSArray and NSValue of objc2-foundation

AVAudioFile default

Enables NSDictionary, NSError, NSString and NSURL of objc2-foundation

AVAudioFormat default

Enables NSData, NSDictionary, NSObject and NSString of objc2-foundation

AVAudioIONode default

Enables NSDate and NSError of objc2-foundation

AVAudioMixerNode AVAudioMixing default
AVAudioNode default

Enables NSDate and NSString of objc2-foundation

AVAudioPlayer default

Enables NSArray, NSData, NSDate, NSDictionary, NSError, NSString and NSURL of objc2-foundation

AVAudioPlayerNode default = bitflags
AVAudioRecorder default

Enables NSArray, NSDate, NSDictionary, NSError, NSString and NSURL of objc2-foundation

AVAudioRoutingArbiter default

Enables NSError of objc2-foundation

AVAudioSequencer default = bitflags

Enables NSArray, NSData, NSDate, NSDictionary, NSError, NSString and NSURL of objc2-foundation

AVAudioSession default

Enables NSArray, NSDate, NSError, NSNotification and NSString of objc2-foundation

AVAudioSessionDeprecated default

Enables NSError of objc2-foundation

AVAudioSessionRoute default

Enables NSArray, NSError, NSString and NSValue of objc2-foundation

AVAudioSessionTypes default = bitflags

Enables NSString of objc2-foundation

AVAudioSettings default

Enables NSString of objc2-foundation

AVAudioSinkNode AVAudioSourceNode default
AVAudioTime default

Enables NSDate of objc2-foundation

Affects AVAudioNode::AVAudioNodeTapBlock

AVAudioTypes default

Affects AVAudioConverter::AVAudioConverterPrimeInfo, AVAudioSequencer::AVBeatRange, AVAudioSequencer::AVAudioSequencerUserCallback, AVAudioConverter::AVAudioConverterInputBlock, AVAudioEngine::AVAudioEngineManualRenderingBlock, AVAudioIONode::AVAudioIONodeInputBlock, AVAudioSequencer::AVMusicEventEnumerationBlock, AVAudioSinkNode::AVAudioSinkNodeReceiverBlock, AVAudioSourceNode::AVAudioSourceNodeRenderBlock

AVAudioUnit default

Enables NSError, NSString and NSURL of objc2-foundation

AVAudioUnitComponent default

Enables NSArray, NSDictionary, NSNotification, NSPredicate, NSString, NSURL and NSValue of objc2-foundation

AVAudioUnitDelay default

Enables NSDate of objc2-foundation

AVAudioUnitDistortion default
AVAudioUnitEQ default

Enables NSArray of objc2-foundation

AVAudioUnitEffect AVAudioUnitGenerator default
AVAudioUnitMIDIInstrument default

Enables NSData of objc2-foundation

AVAudioUnitReverb default
AVAudioUnitSampler default

Enables NSArray, NSError and NSURL of objc2-foundation

AVAudioUnitTimeEffect AVAudioUnitTimePitch default
AVAudioUnitVarispeed default
AVMIDIPlayer default

Enables NSData, NSDate, NSError and NSURL of objc2-foundation

AVMusicEvents default

Enables NSData and NSDictionary of objc2-foundation

Affects AVAudioSequencer::AVMusicEventEnumerationBlock

AVSpeechSynthesis default = bitflags

Enables NSArray, NSAttributedString, NSDate, NSDictionary, NSNotification, NSObject, NSRange and NSString of objc2-foundation

Affects AVSpeechSynthesisProvider::AVSpeechSynthesisProviderOutputBlock

AVSpeechSynthesisProvider default

Enables NSArray, NSError, NSObject and NSString of objc2-foundation