Cargo Features
[dependencies]
objc2-audio-toolbox = { version = "0.3.0", default-features = false, features = ["std", "alloc", "bitflags", "block2", "libc", "objc2-core-audio", "objc2-core-audio-types", "objc2-core-foundation", "objc2-core-midi", "AUAudioUnit", "AUAudioUnitImplementation", "AUCocoaUIView", "AUComponent", "AUGraph", "AUParameters", "AudioCodec", "AudioComponent", "AudioConverter", "AudioFile", "AudioFileStream", "AudioOutputUnit", "AudioQueue", "AudioUnit", "AudioUnitParameters", "AudioUnitProperties", "AudioWorkInterval", "CAFFile", "DefaultAudioOutput", "ExtendedAudioFile", "MusicDevice", "MusicPlayer"] }
- default = AUAudioUnit, AUAudioUnitImplementation, AUCocoaUIView, AUComponent, AUGraph, AUParameters, AudioCodec, AudioComponent, AudioConverter, AudioFile, AudioFileStream, AudioFormat, AudioOutputUnit, AudioQueue, AudioServices, AudioSession, AudioUnit, AudioUnitCarbonView, AudioUnitParameters, AudioUnitProperties, AudioUnitUtilities, AudioWorkInterval, CAFFile, CAShow, DefaultAudioOutput, ExtendedAudioFile, MusicDevice, MusicPlayer, bitflags, block2, libc, objc2-core-audio, objc2-core-audio-types, objc2-core-foundation, std
-
These default features are set whenever
objc2-audio-toolbox
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- bitflags default AUAudioUnit AUComponent AudioCodec AudioComponent AudioConverter AudioFile AudioFileStream AudioQueue AudioUnitProperties CAFFile MusicPlayer
-
Enables bitflags
- block2 default
-
Enables block2
Affects
AUAudioUnit::AUHostMusicalContextBlock
,AUAudioUnit::AUHostTransportStateBlock
,AUAudioUnit::CallHostBlock
,AUParameters::AUParameterObserver
,AUParameters::AUParameterRecordingObserver
,AUParameters::AUParameterAutomationObserver
,AudioComponent::AudioComponentInstantiate
,AudioConverter::AudioConverterPrepare
,AudioServices::AudioServicesPlayAlertSoundWithCompletion
,AudioServices::AudioServicesPlaySystemSoundWithCompletion
,AudioUnitProperties::AudioUnitRemoteControlEventListener
,AudioUnitProperties::AUVoiceIOMutedSpeechActivityEventListener
,AUAudioUnit::AUScheduleMIDIEventBlock
,AUAudioUnit::AUMIDIOutputEventBlock
,AUAudioUnit::AUMIDICIProfileChangedBlock
,AUAudioUnitImplementation::AUImplementorValueObserver
,AUAudioUnitImplementation::AUImplementorValueProvider
,AUAudioUnitImplementation::AUImplementorStringFromValueCallback
,AUAudioUnitImplementation::AUImplementorValueFromStringCallback
,AUAudioUnitImplementation::AUImplementorDisplayNameWithLengthCallback
… - libc default
-
Enables libc
Affects
CAShow::CAShowFile
… - objc2-core-audio default
-
Enables objc2-core-audio
Affects
generated::kAudioHardwareServiceProperty_ServiceRestarted
,generated::kAudioHardwareServiceDeviceProperty_VirtualMainVolume
,generated::kAudioHardwareServiceDeviceProperty_VirtualMasterVolume
,generated::kAudioHardwareServiceDeviceProperty_VirtualMainBalance
,generated::kAudioHardwareServiceDeviceProperty_VirtualMasterBalance
,generated::AudioHardwareServiceHasProperty
,generated::AudioHardwareServiceIsPropertySettable
,generated::AudioHardwareServiceGetPropertyDataSize
,generated::AudioHardwareServiceGetPropertyData
,generated::AudioHardwareServiceSetPropertyData
,generated::AudioHardwareServiceAddPropertyListener
,generated::AudioHardwareServiceRemovePropertyListener
… - objc2-core-audio-types default
-
Enables objc2-core-audio-types
Affects
AUComponent::AURenderCallback
,AUComponent::AUInputSamplesInOutputCallback
,AUComponent::AudioUnitAddRenderNotifyProc
,AUComponent::AudioUnitRemoveRenderNotifyProc
,AUComponent::AudioUnitComplexRenderProc
,AUComponent::AudioUnitProcessProc
,AUComponent::AudioUnitProcessMultipleProc
,AUComponent::AudioUnitRenderProc
,AudioCodec::AudioCodecInitializeProc
,AudioCodec::AudioCodecAppendInputDataProc
,AudioCodec::AudioCodecProduceOutputPacketsProc
,AudioCodec::AudioCodecAppendInputBufferListProc
,AudioCodec::AudioCodecProduceOutputBufferListProc
,AudioConverter::AudioConverterNew
,AudioConverter::AudioConverterNewSpecific
,AudioConverter::AudioConverterNewWithOptions
,AudioConverter::AudioConverterComplexInputDataProc
,AudioConverter::AudioConverterFillComplexBuffer
,AudioConverter::AudioConverterConvertComplexBuffer
,AudioFile::AudioFileInitializeWithCallbacks
… - objc2-core-foundation default
-
Enables objc2-core-foundation
Affects
AUComponent::kAudioComponentRegistrationsChangedNotification
,AUComponent::kAudioComponentInstanceInvalidationNotification
,AUComponent::AudioUnitExtensionSetComponentList
,AUComponent::AudioUnitExtensionCopyComponentList
,AudioComponent::AudioComponentCopyName
,AudioComponent::AudioComponentRegister
,AudioComponent::AudioComponentCopyConfigurationInfo
,AudioFile::AudioFileMarker
,AudioFile::AudioFileMarkerList
,AudioFile::AudioFileRegion
,AudioFile::AudioFileRegionList
,AudioFile::AudioFileOpenURL
,AudioQueue::AudioQueueChannelAssignment
,AudioServices::AudioServicesCreateSystemSoundID
,AudioServices::AudioServicesAddSystemSoundCompletion
,AudioSession::kAudioSession_RouteChangeKey_Reason
,AudioSession::kAudioSession_AudioRouteChangeKey_PreviousRouteDescription
,AudioSession::kAudioSession_AudioRouteChangeKey_CurrentRouteDescription
,AudioSession::kAudioSession_AudioRouteKey_Inputs
,AudioSession::kAudioSession_AudioRouteKey_Outputs
… - objc2-core-midi
-
Enables objc2-core-midi
Affects
MusicPlayer::MusicSequenceSetMIDIEndpoint
,MusicPlayer::MusicTrackSetDestMIDIEndpoint
,MusicPlayer::MusicTrackGetDestMIDIEndpoint
,generated::CAClockParseMIDI
,AUAudioUnit::AUMIDICIProfileChangedBlock
,AudioUnitProperties::AUMIDIOutputCallback
,AudioUnitProperties::AUMIDIOutputCallbackStruct
,MusicDevice::MusicDeviceMIDIEventList
… - AUAudioUnit default = bitflags
-
Enables NSArray, NSDate, NSDictionary, NSEnumerator, NSError, NSKeyValueObserving, NSObject, NSString and NSValue of objc2-foundation
- AUAudioUnitImplementation default
-
Enables NSArray, NSError, NSExtensionRequestHandling, NSString and NSValue of objc2-foundation
- AUCocoaUIView default
- AUComponent default = bitflags
-
Affects
AudioUnitParameters::kAUGroupParameterID_Volume
,AudioUnitParameters::kAUGroupParameterID_Sustain
,AudioUnitParameters::kAUGroupParameterID_Sostenuto
,AudioUnitParameters::kAUGroupParameterID_AllNotesOff
,AudioUnitParameters::kAUGroupParameterID_ModWheel
,AudioUnitParameters::kAUGroupParameterID_PitchBend
,AudioUnitParameters::kAUGroupParameterID_AllSoundOff
,AudioUnitParameters::kAUGroupParameterID_ResetAllControllers
,AudioUnitParameters::kAUGroupParameterID_Pan
,AudioUnitParameters::kAUGroupParameterID_Foot
,AudioUnitParameters::kAUGroupParameterID_ChannelPressure
,AudioUnitParameters::kAUGroupParameterID_KeyPressure
,AudioUnitParameters::kAUGroupParameterID_Expression
,AudioUnitParameters::kAUGroupParameterID_DataEntry
,AudioUnitParameters::kAUGroupParameterID_Volume_LSB
,AudioUnitParameters::kAUGroupParameterID_ModWheel_LSB
,AudioUnitProperties::kAudioUnitScope_Global
,AudioUnitProperties::kAudioUnitScope_Input
,AudioUnitProperties::kAudioUnitScope_Output
,AudioUnitProperties::kAudioUnitScope_Group
… - AUGraph default
-
Affects
MusicPlayer::MusicSequenceSetAUGraph
,MusicPlayer::MusicSequenceGetAUGraph
,MusicPlayer::MusicTrackSetDestNode
,MusicPlayer::MusicTrackGetDestNode
… - AUParameters default
-
Enables NSArray, NSObject, NSString and NSValue of objc2-foundation
Affects
AUAudioUnitImplementation::AUImplementorValueObserver
,AUAudioUnitImplementation::AUImplementorValueProvider
,AUAudioUnitImplementation::AUImplementorStringFromValueCallback
,AUAudioUnitImplementation::AUImplementorValueFromStringCallback
,AUAudioUnitImplementation::AUImplementorDisplayNameWithLengthCallback
,AUAudioUnit::AUScheduleParameterBlock
… - AudioCodec default = bitflags
- AudioComponent default = bitflags
-
Affects
AUComponent::AudioUnit
,AUComponent::AudioUnitParameter
,AUComponent::AudioUnitProperty
,AUComponent::AudioUnitPropertyListenerProc
,AUComponent::AudioUnitInitialize
,AUComponent::AudioUnitUninitialize
,AUComponent::AudioUnitGetPropertyInfo
,AUComponent::AudioUnitGetProperty
,AUComponent::AudioUnitSetProperty
,AUComponent::AudioUnitAddPropertyListener
,AUComponent::AudioUnitRemovePropertyListenerWithUserData
,AUComponent::AudioUnitGetParameter
,AUComponent::AudioUnitSetParameter
,AUComponent::AudioUnitReset
,AUComponent::AudioUnitAddPropertyListenerProc
,AUComponent::AudioUnitRemovePropertyListenerProc
,AUGraph::AUGraphAddNode
,AudioCodec::AudioCodec
,AudioCodec::AudioCodecGetPropertyInfo
,AudioCodec::AudioCodecGetProperty
… - AudioConverter default = bitflags
- AudioFile default = bitflags
-
Affects
ExtendedAudioFile::ExtAudioFileWrapAudioFileID
,generated::kAudioFileComponent_CanRead
,generated::kAudioFileComponent_CanWrite
,generated::kAudioFileComponent_FileTypeName
,generated::kAudioFileComponent_UTIsForType
,generated::kAudioFileComponent_MIMETypesForType
,generated::kAudioFileComponent_ExtensionsForType
,generated::kAudioFileComponent_AvailableFormatIDs
,generated::kAudioFileComponent_AvailableStreamDescriptionsForFormat
,generated::kAudioFileComponent_FastDispatchTable
,generated::kAudioFileComponent_HFSTypeCodesForType
,generated::GetPropertyInfoFDF
,generated::GetPropertyFDF
,generated::SetPropertyFDF
,generated::AudioFileComponentOpenWithCallbacksProc
,AudioFileStream::AudioFileStreamOpen
,generated::AudioFileComponentOpenWithCallbacks
,generated::AudioFileComponentDataIsThisFormat
,ExtendedAudioFile::ExtAudioFileCreateWithURL
… - AudioFileStream default = bitflags
- AudioFormat AudioOutputUnit default
- AudioQueue default = bitflags
- AudioServices AudioSession AudioUnit default
- AudioUnitCarbonView AudioUnitParameters default
- AudioUnitProperties default = bitflags
-
Affects
AUAudioUnit::AUEventSampleTimeImmediate
,AUAudioUnit::AUScheduleMIDIEventBlock
,AUAudioUnit::AUMIDIOutputEventBlock
,AUAudioUnit::AUScheduleParameterBlock
,AUGraph::AUNodeRenderCallback
,AUGraph::AUGraphSetNodeInputCallback
… - AudioUnitUtilities AudioWorkInterval default
- CAFFile default = bitflags
- CAShow DefaultAudioOutput default
- ExtendedAudioFile default
- MusicDevice default
-
Affects
MusicPlayer::ExtendedNoteOnEvent
,MusicPlayer::MusicTrackNewExtendedNoteEvent
,MusicPlayer::ExtendedControlEvent
,MusicPlayer::MusicTrackNewExtendedControlEvent
… - MusicPlayer default = bitflags
-
Affects
generated::CAClockBeatsToBarBeatTime
,generated::CAClockBarBeatTimeToBeats
…