SetAudioItemInfo

Sets parameters of an audio item.

Synopsis

Err SetAudioItemInfo (Item audioItem, TagArg *tagList)
Err SetAudioItemInfoVA (Item audioItem, uint32 tag1, ...)

Description

This function sets one or more parameters of an audio item. This is the only way to set parameters for an audio item. The parameters are determined by the tag arguments.

Arguments

audioItem
Item number of an audio item to modify.
tagList
List of parameters to set. See each audio Item pages for list of tags that are supported by each item type.

Return Value

The function returns a non-negative value if successful or an error code (a negative value) if an error occurs.

Implementation

SWI implemented in Audio folio V20.

Caveats

If this function fails, the audio item you were modifying may have been partially modified and thus in an undefined state.

Associated Files

audio.h

See Also

GetAudioItemInfo(), Attachment, Cue, Envelope, Instrument, Knob, Probe, Sample, Template, Tuning