audiotoolbox

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

WIP

TODO: * import cycle dependency on avfaudio and coreaudiokit

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalanceFade

type BalanceFade struct {
	MLeftRightBalance float32
	MBackFrontFade    float32
	MType             uint32
	MChannelLayout    *coreaudiotypes.ChannelLayout //*_Ctype_struct_AudioChannelLayout
}

Describes audio left/right balance and front/back fade values. Full Topic

type BarBeatTime

type BarBeatTime struct {
	Bar            int32
	Beat           uint16
	Subbeat        uint16
	SubbeatDivisor uint16
	Reserved       uint16
}
[Full Topic]

type BytePacketTranslation

type BytePacketTranslation struct {
	MByte               int64
	MPacket             int64
	MByteOffsetInPacket uint32
	MFlags              uint32
}

A data structure used by the audiotoolbox/audio_file_properties/kaudiofilepropertybytetopacket and audiotoolbox/audio_file_properties/kaudiofilepropertypackettobyte properties. Full Topic

type ChannelInfo

type ChannelInfo struct {
	InChannels  int16
	OutChannels int16
}

The audio input and output channel capabilities for an audio unit. Full Topic

type ChannelMessage

type ChannelMessage struct {
	Status   uint8
	Data1    uint8
	Data2    uint8
	Reserved uint8
}

Describes a MIDI channel message. Full Topic

type ClockTime

type ClockTime struct {
	Format   uint32
	Reserved uint32
	Time     [24]byte
}
[Full Topic]

type CodecMagicCookieInfo

type CodecMagicCookieInfo struct {
	MMagicCookieSize uint32
	MMagicCookie     uintptr
}

A structure holding magic cookie information needed by some codecs. Full Topic

type CodecPrimeInfo

type CodecPrimeInfo struct {
	LeadingFrames  uint32
	TrailingFrames uint32
}

A structure specifying the number of leading and trailing empty frames to be inserted. Full Topic

type ComponentDescription

type ComponentDescription struct {
	ComponentType         uint32
	ComponentSubType      uint32
	ComponentManufacturer uint32
	ComponentFlags        uint32
	ComponentFlagsMask    uint32
}

Identifying information for an audio component. Full Topic

type ComponentPlugInInterface

type ComponentPlugInInterface struct {
	Open     uintptr
	Close    uintptr
	Lookup   uintptr
	Reserved uintptr
}
[Full Topic]

type ConverterPrimeInfo

type ConverterPrimeInfo struct {
	LeadingFrames  uint32
	TrailingFrames uint32
}

Specifies priming information for an audio converter, used as a value for the audiotoolbox/audio_converter_properties/kaudioconverterprimeinfo property. Full Topic

type DependentParameter

type DependentParameter struct {
	MScope       uint32
	MParameterID uint32
}

An audio unit parameter whose value can change in response to a change in its parent metaparameter. Full Topic

type DistanceAttenuationData

type DistanceAttenuationData struct {
	InNumberOfPairs uint32
}
[Full Topic]

type EventList

type EventList struct {
	Protocol   uint32
	NumPackets uint32
	Packet     [1]coremidi.EventPacket //[1]_Ctype_struct_MIDIEventPacket
}
[Full Topic]

type ExtendedAudioFormatInfo

type ExtendedAudioFormatInfo struct {
	MASBD             coreaudiotypes.StreamBasicDescription // _Ctype_struct_AudioStreamBasicDescription
	MMagicCookie      uintptr
	MMagicCookieSize  uint32
	MClassDescription coreaudiotypes.ClassDescription // _Ctype_struct_AudioClassDescription
}

A specifier for the audiotoolbox/audio_format_property_identifier/kaudioformatproperty_formatlist property, including the codec to use. Full Topic

type ExtendedControlEvent

type ExtendedControlEvent struct {
	GroupID   uint32
	ControlID uint32
	Value     float32
}
[Full Topic]

type ExtendedNoteOnEvent

type ExtendedNoteOnEvent struct {
	InstrumentID   uint32
	GroupID        uint32
	Duration       float32
	ExtendedParams MusicDeviceNoteParams
}

Describes a note-on event with extended parameters. Full Topic

type ExtendedTempoEvent

type ExtendedTempoEvent struct {
	Bpm float64
}

Describes a music track tempo in beats-per-minute. Full Topic

type FAudioDescription

type FAudioDescription struct {
	MSampleRate       float64
	MFormatID         uint32
	MFormatFlags      uint32
	MBytesPerPacket   uint32
	MFramesPerPacket  uint32
	MChannelsPerFrame uint32
	MBitsPerChannel   uint32
}
[Full Topic]

type FChunkHeader

type FChunkHeader struct {
	MChunkType uint32
	Pad_cgo_0  [8]byte
}
[Full Topic]

type FDataChunk

type FDataChunk struct {
	MEditCount uint32
	MData      [1]uint8
}
[Full Topic]

type FFileHeader

type FFileHeader struct {
	MFileType    uint32
	MFileVersion uint16
	MFileFlags   uint16
}
[Full Topic]

type FInfoStrings

type FInfoStrings struct {
	MNumEntries uint32
}
[Full Topic]

type FInstrumentChunk

type FInstrumentChunk struct {
	MBaseNote         float32
	MMIDILowNote      uint8
	MMIDIHighNote     uint8
	MMIDILowVelocity  uint8
	MMIDIHighVelocity uint8
	MdBGain           float32
	MStartRegionID    uint32
	MSustainRegionID  uint32
	MReleaseRegionID  uint32
	MInstrumentID     uint32
}
[Full Topic]

type FMarker

type FMarker struct {
	MType      uint32
	Pad_cgo_0  [8]byte
	MMarkerID  uint32
	MSMPTETime F_SMPTE_Time
	MChannel   uint32
}
[Full Topic]

type FMarkerChunk

type FMarkerChunk struct {
	TimeType       uint32
	MNumberMarkers uint32
	MMarkers       [1]FMarker
}
[Full Topic]

type FOverviewChunk

type FOverviewChunk struct {
	MEditCount             uint32
	MNumFramesPerOVWSample uint32
	MData                  [1]FOverviewSample
}
[Full Topic]

type FOverviewSample

type FOverviewSample struct {
	MMinValue int16
	MMaxValue int16
}
[Full Topic]

type FPacketTableHeader

type FPacketTableHeader struct {
	MNumberPackets      int64
	MNumberValidFrames  int64
	MPrimingFrames      int32
	MRemainderFrames    int32
	MPacketDescriptions [1]uint8
}
[Full Topic]

type FPeakChunk

type FPeakChunk struct {
	MEditCount uint32
	MPeaks     [1]FPositionPeak
}
[Full Topic]

type FPositionPeak

type FPositionPeak struct {
	MValue    float32
	Pad_cgo_0 [8]byte
}
[Full Topic]

type FRegion

type FRegion struct {
	MRegionID      uint32
	MFlags         uint32
	MNumberMarkers uint32
	MMarkers       [1]FMarker
}
[Full Topic]

type FRegionChunk

type FRegionChunk struct {
	TimeType       uint32
	MNumberRegions uint32
	MRegions       [1]FRegion
}
[Full Topic]

type FStringID

type FStringID struct {
	MStringID uint32
	Pad_cgo_0 [8]byte
}
[Full Topic]

type FStrings

type FStrings struct {
	MNumEntries uint32
	MStringsIDs [1]FStringID
}
[Full Topic]

type FUMIDChunk

type FUMIDChunk struct {
	MBytes [64]uint8
}
[Full Topic]

type F_SMPTE_Time

type F_SMPTE_Time struct {
	MHours                int8
	MMinutes              int8
	MSeconds              int8
	MFrames               int8
	MSubFrameSampleOffset uint32
}
[Full Topic]

type F_UUID_ChunkHeader

type F_UUID_ChunkHeader struct {
	MHeader FChunkHeader
	MUUID   [16]uint8
}
[Full Topic]

type FileFDFTable

type FileFDFTable struct {
	MComponentStorage   uintptr
	MReadBytesFDF       uintptr
	MWriteBytesFDF      uintptr
	MReadPacketsFDF     uintptr
	MWritePacketsFDF    uintptr
	MGetPropertyInfoFDF uintptr
	MGetPropertyFDF     uintptr
	MSetPropertyFDF     uintptr
	MCountUserDataFDF   uintptr
	MGetUserDataSizeFDF uintptr
	MGetUserDataFDF     uintptr
	MSetUserDataFDF     uintptr
}
[Full Topic]

type FileFDFTableExtended

type FileFDFTableExtended struct {
	MComponentStorage   uintptr
	MReadBytesFDF       uintptr
	MWriteBytesFDF      uintptr
	MReadPacketsFDF     uintptr
	MWritePacketsFDF    uintptr
	MGetPropertyInfoFDF uintptr
	MGetPropertyFDF     uintptr
	MSetPropertyFDF     uintptr
	MCountUserDataFDF   uintptr
	MGetUserDataSizeFDF uintptr
	MGetUserDataFDF     uintptr
	MSetUserDataFDF     uintptr
	MReadPacketDataFDF  uintptr
}
[Full Topic]

type FileMarker

type FileMarker struct {
	MFramePosition float64
	MName          corefoundation.StringRef // *_Ctype_struct___CFString
	MMarkerID      int32
	MSMPTETime     File_SMPTE_Time
	MType          uint32
	MReserved      uint16
	MChannel       uint16
	Pad_cgo_0      [4]byte
}

Annotates a position in an audio file. Full Topic

type FileMarkerList

type FileMarkerList struct {
	TimeType       uint32
	MNumberMarkers uint32
	MMarkers       [1]FileMarker
}

A list of markers associated with an audio file, including their SMPTE time type, the number of markers, and the markers themselves. Full Topic

type FilePacketTableInfo

type FilePacketTableInfo struct {
	MNumberValidFrames int64
	MPrimingFrames     int32
	MRemainderFrames   int32
}

Contains information about the number of valid frames in a file and where they begin and end. Full Topic

type FileRegion

type FileRegion struct {
	MRegionID      uint32
	MName          corefoundation.StringRef // *_Ctype_struct___CFString
	MFlags         uint32
	MNumberMarkers uint32
	MMarkers       [1]FileMarker
}

An audio file region specifies a segment of audio data. Full Topic

type FileRegionList

type FileRegionList struct {
	TimeType       uint32
	MNumberRegions uint32
	MRegions       [1]FileRegion
}

A list of the audio file regions in a file. Full Topic

type FileTypeAndFormatID

type FileTypeAndFormatID struct {
	MFileType uint32
	MFormatID uint32
}

A specifier for the constant[audiotoolbox/audio_file_global_info_propertie/kaudiofileglobalinfo_availablestreamdescriptionsforformat]. Full Topic

type File_SMPTE_Time

type File_SMPTE_Time struct {
	MHours                int8
	MMinutes              uint8
	MSeconds              uint8
	MFrames               uint8
	MSubFrameSampleOffset uint32
}

A data structure for describing SMPTE (Society of Motion Picture and Television Engineers) time. Full Topic

type FormatInfo

type FormatInfo struct {
	MASBD            coreaudiotypes.StreamBasicDescription //_Ctype_struct_AudioStreamBasicDescription
	MMagicCookie     uintptr
	MMagicCookieSize uint32
	Pad_cgo_0        [4]byte
}

A specifier for the audiotoolbox/audio_format_property_identifier/kaudioformatproperty_formatlist property. Full Topic

type FramePacketTranslation

type FramePacketTranslation struct {
	MFrame               int64
	MPacket              int64
	MFrameOffsetInPacket uint32
	Pad_cgo_0            [4]byte
}

A data structure used by the audiotoolbox/audio_file_properties/kaudiofilepropertypackettoframe and audiotoolbox/audio_file_properties/kaudiofilepropertyframetopacket properties. Full Topic

type HostCallbackInfo

type HostCallbackInfo struct {
	HostUserData            uintptr
	BeatAndTempoProc        uintptr
	MusicalTimeLocationProc uintptr
	TransportStateProc      uintptr
	TransportStateProc2     uintptr
}

The time- and transport-related callback functions for an audio unit. Full Topic

type HostIdentifier

type HostIdentifier struct {
	HostName    corefoundation.StringRef // *_Ctype_struct___CFString
	HostVersion NumVersion
	Pad_cgo_0   [4]byte
}
[Full Topic]

type HostVersionIdentifier

type HostVersionIdentifier struct {
	HostName    corefoundation.StringRef // *_Ctype_struct___CFString
	HostVersion uint32
	Pad_cgo_0   [4]byte
}

The name and version of an audio unit’s host application. Full Topic

type IndependentPacketTranslation

type IndependentPacketTranslation struct {
	MPacket                       int64
	MIndependentlyDecodablePacket int64
}
[Full Topic]

type InputSamplesInOutputCallbackStruct

type InputSamplesInOutputCallbackStruct struct {
	InputToOutputCallback uintptr
	UserData              uintptr
}

The callback function and custom data for providing input-to-output sample mapping for an audio unit. Full Topic

type MIDIEvent

type MIDIEvent struct {
	Next            *[296]byte
	EventSampleTime int64
	EventType       uint8
	Reserved        uint8
	Length          uint16
	Cable           uint8
	Data            [3]uint8
}

A structure that describes a scheduled MIDI event. Full Topic

type MIDIEventList

type MIDIEventList struct {
	Next            *[296]byte
	EventSampleTime int64
	EventType       uint8
	Reserved        uint8
	Cable           uint8
	Pad_cgo_0       [277]byte
}
[Full Topic]

type MIDIOutputCallbackStruct

type MIDIOutputCallbackStruct struct {
	MidiOutputCallback uintptr
	UserData           uintptr
}

The callback function and custom data for an audio unit that provides MIDI output. Full Topic

type MetaEvent

type MetaEvent struct {
	MetaEventType uint8
	Unused1       uint8
	Unused2       uint8
	Unused3       uint8
	DataLength    uint32
	Data          [1]uint8
	Pad_cgo_0     [3]byte
}

Describes a MIDI metaevent such as lyric text, time signature, and so on. Full Topic

type MeterTrackEntry

type MeterTrackEntry struct {
	Beats      float64
	MeterNumer uint16
	MeterDenom uint16
	Pad_cgo_0  [4]byte
}
[Full Topic]

type MixerDistanceParams

type MixerDistanceParams struct {
	MReferenceDistance float32
	MMaxDistance       float32
	MMaxAttenuation    float32
}
[Full Topic]

type MusicDeviceNoteParams

type MusicDeviceNoteParams struct {
	ArgCount  uint32
	MPitch    float32
	MVelocity float32
	MControls [1]NoteParamsControlValue
}
[Full Topic]

type MusicDeviceStdNoteParams

type MusicDeviceStdNoteParams struct {
	ArgCount  uint32
	MPitch    float32
	MVelocity float32
}
[Full Topic]

type MusicEventUserData

type MusicEventUserData struct {
	Length    uint32
	Data      [1]uint8
	Pad_cgo_0 [3]byte
}

Describes a user-defined event. Full Topic

type MusicTrackLoopInfo

type MusicTrackLoopInfo struct {
	LoopDuration  float64
	NumberOfLoops int32
	Pad_cgo_0     [4]byte
}

Supports control of the looping behavior of a music track. Full Topic

type NodeInteraction

type NodeInteraction struct {
	NodeInteractionType uint32
	Pad_cgo_0           [4]byte
	NodeInteraction     [24]byte
}

Describes the interaction between two node objects. Full Topic

type NodeRenderCallback

type NodeRenderCallback struct {
	DestNode        int32
	DestInputNumber uint32
	Cback           RenderCallbackStruct
}

A callback used to provide input to an audio unit. Full Topic

type NoteMessage

type NoteMessage struct {
	Channel         uint8
	Note            uint8
	Velocity        uint8
	ReleaseVelocity uint8
	Duration        float32
}

Describes a MIDI note. Full Topic

type NoteParamsControlValue

type NoteParamsControlValue struct {
	MID    uint32
	MValue float32
}
[Full Topic]

type NumVersion

type NumVersion struct {
	NonRelRev      uint8
	Stage          uint8
	MinorAndBugRev uint8
	MajorRev       uint8
}
[Full Topic]

type OutputUnitMIDICallbacks

type OutputUnitMIDICallbacks struct {
	UserData      uintptr
	MIDIEventProc uintptr
	MIDISysExProc uintptr
}
[Full Topic]

type OutputUnitStartAtTimeParams

type OutputUnitStartAtTimeParams struct {
	MTimestamp coreaudiotypes.TimeStamp //_Ctype_struct_AudioTimeStamp
	MFlags     uint32
	Pad_cgo_0  [4]byte
}

A timestamp for scheduled starting of an I/O audio unit. Full Topic

type PacketDependencyInfoTranslation

type PacketDependencyInfoTranslation struct {
	MPacket                   int64
	MIsIndependentlyDecodable uint32
	MNumberPrerollPackets     uint32
}
[Full Topic]

type PacketRangeByteCountTranslation

type PacketRangeByteCountTranslation struct {
	MPacket              int64
	MPacketCount         int64
	MByteCountUpperBound int64
}
[Full Topic]

type PacketRollDistanceTranslation

type PacketRollDistanceTranslation struct {
	MPacket       int64
	MRollDistance int64
}
[Full Topic]

type PanningInfo

type PanningInfo struct {
	MPanningMode      uint32
	MCoordinateFlags  uint32
	MCoordinates      [3]float32
	MGainScale        float32
	MOutputChannelMap *coreaudiotypes.ChannelLayout //*_Ctype_struct_AudioChannelLayout
}

Audio panning information. Full Topic

type ParameterAutomationEvent

type ParameterAutomationEvent struct {
	HostTime  uint64
	Address   uint64
	Value     float32
	EventType uint32
	Reserved  uint64
}
[Full Topic]

type ParameterEvent

type ParameterEvent struct {
	Next                     *[296]byte
	EventSampleTime          int64
	EventType                uint8
	Reserved                 [3]uint8
	RampDurationSampleFrames uint32
	ParameterAddress         uint64
	Value                    float32
}

A structure that describes a scheduled parameter event. Full Topic

type ParameterMIDIMapping

type ParameterMIDIMapping struct {
	MScope       uint32
	MElement     uint32
	MParameterID uint32
	MFlags       uint32
	MSubRangeMin float32
	MSubRangeMax float32
	MStatus      uint8
	MData1       uint8
	Reserved1    uint8
	Reserved2    uint8
	Reserved3    uint32
}
[Full Topic]

type Preset

type Preset struct {
	PresetNumber int32
	PresetName   corefoundation.StringRef // *_Ctype_struct___CFString
}

Used to set factory presets for an audio unit. Full Topic

type PresetEvent

type PresetEvent struct {
	Scope   uint32
	Element uint32
	Preset  uintptr
}

Describes an audio unit preset. Full Topic

type QueueBuffer

type QueueBuffer struct {
	MAudioDataBytesCapacity    uint32
	MAudioData                 uintptr
	MAudioDataByteSize         uint32
	MUserData                  uintptr
	MPacketDescriptionCapacity uint32
	MPacketDescriptions        *coreaudiotypes.StreamPacketDescription //*_Ctype_struct_AudioStreamPacketDescription
	MPacketDescriptionCount    uint32
	Pad_cgo_0                  [4]byte
}

Defines an audio queue buffer. Full Topic

type QueueChannelAssignment

type QueueChannelAssignment struct {
	MDeviceUID     corefoundation.StringRef // *_Ctype_struct___CFString
	MChannelNumber uint32
	Pad_cgo_0      [4]byte
}
[Full Topic]

type QueueLevelMeterState

type QueueLevelMeterState struct {
	MAveragePower float32
	MPeakPower    float32
}

Specifies the current level metering information for one channel of an audio queue. Full Topic

type QueueParameterEvent

type QueueParameterEvent struct {
	MID    uint32
	MValue float32
}

Specifies an audio queue parameter and associated value. Full Topic

type RawData

type RawData struct {
	Length    uint32
	Data      [1]uint8
	Pad_cgo_0 [3]byte
}

Describes a MIDI system-exclusive (SysEx) message. Full Topic

type RecordedParameterEvent

type RecordedParameterEvent struct {
	HostTime  uint64
	Address   uint64
	Value     float32
	Pad_cgo_0 [4]byte
}

An event recording the changing of a parameter at a particular host time. Full Topic

type RenderCallbackStruct

type RenderCallbackStruct struct {
	InputProc       uintptr
	InputProcRefCon uintptr
}

Used for registering an input callback function with an audio unit. Full Topic

type RenderEventHeader

type RenderEventHeader struct {
	Next            *[296]byte
	EventSampleTime int64
	EventType       uint8
	Reserved        uint8
	Pad_cgo_0       [2]byte
}

The common header for a render event. Full Topic

type SamplerBankPresetData

type SamplerBankPresetData struct {
	BankURL   corefoundation.URLRef // *_Ctype_struct___CFURL
	BankMSB   uint8
	BankLSB   uint8
	PresetID  uint8
	Reserved  uint8
	Pad_cgo_0 [4]byte
}
[Full Topic]

type SamplerInstrumentData

type SamplerInstrumentData struct {
	FileURL        corefoundation.URLRef // *_Ctype_struct___CFURL
	InstrumentType uint8
	BankMSB        uint8
	BankLSB        uint8
	PresetID       uint8
	Pad_cgo_0      [4]byte
}
[Full Topic]

type ScheduledAudioFileRegion

type ScheduledAudioFileRegion struct {
	MTimeStamp              coreaudiotypes.TimeStamp //_Ctype_struct_AudioTimeStamp
	MCompletionProc         uintptr
	MCompletionProcUserData uintptr
	// TODO: MAudioFile              *_Ctype_struct_OpaqueAudioFileID
	MLoopCount    uint32
	MStartFrame   int64
	MFramesToPlay uint32
	Pad_cgo_0     [4]byte
}
[Full Topic]

type ScheduledAudioSlice

type ScheduledAudioSlice struct {
	MTimeStamp              coreaudiotypes.TimeStamp // _Ctype_struct_AudioTimeStamp
	MCompletionProc         uintptr
	MCompletionProcUserData uintptr
	MFlags                  uint32
	MReserved               uint32
	MReserved2              uintptr
	MNumberFrames           uint32
	MBufferList             *coreaudiotypes.BufferList // *_Ctype_struct_AudioBufferList
}
[Full Topic]

type TempoMapEntry

type TempoMapEntry struct {
	Beats    float64
	TempoBPM float64
}
[Full Topic]

type UnitCocoaViewInfo

type UnitCocoaViewInfo struct {
	MCocoaAUViewBundleLocation corefoundation.URLRef       // *_Ctype_struct___CFURL
	MCocoaAUViewClass          [1]corefoundation.StringRef // *_Ctype_struct___CFString
}

The name and number of custom Cocoa views for an audio unit. Full Topic

type UnitConnection

type UnitConnection struct {
	// TODO: SourceAudioUnit    *_Ctype_struct_ComponentInstanceRecord
	SourceOutputNumber uint32
	DestInputNumber    uint32
}

An audio unit source-to-destination connection specification. Full Topic

type UnitEvent

type UnitEvent struct {
	MEventType uint32
	Pad_cgo_0  [4]byte
	MArgument  [24]byte
}
[Full Topic]

type UnitExternalBuffer

type UnitExternalBuffer struct {
	Buffer    *uint8
	Size      uint32
	Pad_cgo_0 [4]byte
}

Allows an audio unit host application to tell an audio unit to use a specified buffer for its input callback. Full Topic

type UnitFrequencyResponseBin

type UnitFrequencyResponseBin struct {
	MFrequency float64
	MMagnitude float64
}

An audio unit’s audio level at a particular frequency. Full Topic

type UnitMIDIControlMapping

type UnitMIDIControlMapping struct {
	MidiNRPN    uint16
	MidiControl uint8
	Scope       uint8
	Element     uint32
	Parameter   uint32
}
[Full Topic]

type UnitMeterClipping

type UnitMeterClipping struct {
	PeakValueSinceLastCall float32
	SawInfinity            uint8
	SawNotANumber          uint8
	Pad_cgo_0              [2]byte
}

Audio clipping that has occurred in a mixer unit. Full Topic

type UnitNodeConnection

type UnitNodeConnection struct {
	SourceNode         int32
	SourceOutputNumber uint32
	DestNode           int32
	DestInputNumber    uint32
}

A connection between two node objects in an audio processing graph. Full Topic

type UnitOtherPluginDesc

type UnitOtherPluginDesc struct {
	Format uint32
}
[Full Topic]

type UnitParameter

type UnitParameter struct {
	// TODO: MAudioUnit   *_Ctype_struct_ComponentInstanceRecord
	MParameterID uint32
	MScope       uint32
	MElement     uint32
	Pad_cgo_0    [4]byte
}

An adjustable audio unit attribute such as volume, pitch, or filter cutoff frequency. Full Topic

type UnitParameterEvent

type UnitParameterEvent struct {
	Scope       uint32
	Element     uint32
	Parameter   uint32
	EventType   uint32
	EventValues [16]byte
}

A scheduled change to an audio unit parameter’s value. Full Topic

type UnitParameterHistoryInfo

type UnitParameterHistoryInfo struct {
	UpdatesPerSecond         float32
	HistoryDurationInSeconds float32
}

The suggested update rate and history duration for parameters which have the kAudioUnitParameterFlag_PlotHistory flag set. Full Topic

type UnitParameterInfo

type UnitParameterInfo struct {
	Name         [52]int8
	UnitName     corefoundation.StringRef // *_Ctype_struct___CFString
	ClumpID      uint32
	CfNameString corefoundation.StringRef // *_Ctype_struct___CFString
	Unit         uint32
	MinValue     float32
	MaxValue     float32
	DefaultValue float32
	Flags        uint32
	Pad_cgo_0    [4]byte
}
[Full Topic]

type UnitParameterNameInfo

type UnitParameterNameInfo struct {
	InID            uint32
	InDesiredLength int32
	OutName         corefoundation.StringRef // *_Ctype_struct___CFString
}

A short version of the name for an audio unit parameter. Full Topic

type UnitParameterStringFromValue

type UnitParameterStringFromValue struct {
	InParamID uint32
	InValue   *float32
	OutString corefoundation.StringRef // *_Ctype_struct___CFString
}

A string representation of a parameter’s value. Full Topic

type UnitParameterValueFromString

type UnitParameterValueFromString struct {
	InParamID uint32
	InString  corefoundation.StringRef // *_Ctype_struct___CFString
	OutValue  float32
	Pad_cgo_0 [4]byte
}

A parameter's value based on a string representation of the value. Full Topic

type UnitParameterValueName

type UnitParameterValueName struct {
	InParamID uint32
	InValue   *float32
	OutName   corefoundation.StringRef // *_Ctype_struct___CFString
}
[Full Topic]

type UnitParameterValueTranslation

type UnitParameterValueTranslation struct {
	OtherDesc    UnitOtherPluginDesc
	OtherParamID uint32
	OtherValue   float32
	AuParamID    uint32
	AuValue      float32
}
[Full Topic]

type UnitPresetMAS_SettingData

type UnitPresetMAS_SettingData struct {
	IsStockSetting uint32
	SettingID      uint32
	DataLen        uint32
	Data           [1]uint8
	Pad_cgo_0      [3]byte
}
[Full Topic]

type UnitPresetMAS_Settings

type UnitPresetMAS_Settings struct {
	ManufacturerID   uint32
	EffectID         uint32
	VariantID        uint32
	SettingsVersion  uint32
	NumberOfSettings uint32
	Settings         [1]UnitPresetMAS_SettingData
}
[Full Topic]

type UnitProperty

type UnitProperty struct {
	// TODO: MAudioUnit  *_Ctype_struct_ComponentInstanceRecord
	MPropertyID uint32
	MScope      uint32
	MElement    uint32
	Pad_cgo_0   [4]byte
}

A key-value pair that declares an attribute or behavior for an audio unit. Full Topic

type UnitRenderContext

type UnitRenderContext struct {
	// TODO: Workgroup *_Ctype_struct_OS_os_workgroup
	Reserved [6]uint32
}

A structure that contains thread context information for a real-time rendering operation. Full Topic

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL