Description | Hierarchy | Fields | Methods | Properties |
type unaMsMixerControl = class(unaMsMixerObject)
Mixer control. Every line has several controls connected to it.
constructor create(master: unaMsMixerLine; caps: pMixerControlW); |
|
destructor Destroy(); override; |
|
function getListItem(channel: unsigned = 0; index: unsigned = 0): pMixerControlDetailsListText; |
|
function getValue(const def: string; channel: unsigned = 0; index: unsigned = 0): string; overload; |
|
function getValue(def: bool; channel: unsigned = 0; index: unsigned = 0): bool; overload; |
|
function getValue(def: unsigned; channel: unsigned = 0; index: unsigned = 0): unsigned; overload; |
|
function getValueInt(def: int; channel: unsigned = 0; index: unsigned = 0): int; |
|
procedure beginUpdate(); |
|
procedure endUpdate(); |
|
procedure setValue(value: unsigned; channel: int = -1; index: unsigned = 0); overload; |
|
procedure setValue(value: bool; channel: int = -1; index: unsigned = 0); overload; |
|
procedure setValueInt(value: int; channel: int = -1; index: unsigned = 0); |
property caps: pMixerControlW read f_caps; |
|
property controlClass: unsigned read f_controlClass; |
|
property controlID: unsigned read getControlID; |
|
property controlSubClass: unsigned read f_controlSubClass; |
|
property controlType: unsigned read f_controlType; |
|
property controlUnits: unsigned read f_controlUnits; |
|
property details: pMixerControlDetails read f_details; |
|
property isCustomClass: bool index MIXERCONTROL_CT_CLASS_CUSTOM read getIsControlClass; |
|
property isDisabled: bool index -1 read getIsControl; |
|
property isFaderClass: bool index MIXERCONTROL_CT_CLASS_FADER read getIsControlClass; |
|
property isListClass: bool index MIXERCONTROL_CT_CLASS_LIST read getIsControlClass; |
|
property isMeterClass: bool index MIXERCONTROL_CT_CLASS_METER read getIsControlClass; |
|
property isMultiple: bool index MIXERCONTROL_CONTROLF_MULTIPLE read getIsControl; |
|
property isNumberClass: bool index MIXERCONTROL_CT_CLASS_NUMBER read getIsControlClass; |
|
property isSliderClass: bool index MIXERCONTROL_CT_CLASS_SLIDER read getIsControlClass; |
|
property isSwitchClass: bool index MIXERCONTROL_CT_CLASS_SWITCH read getIsControlClass; |
|
property isTimeClass: bool index MIXERCONTROL_CT_CLASS_TIME read getIsControlClass; |
|
property isUniform: bool index MIXERCONTROL_CONTROLF_UNIFORM read getIsControl; |
|
property listItemsText: unaStringList read f_listItemsText; |
|
property multipleItems: unsigned read f_multipleItems; |
constructor create(master: unaMsMixerLine; caps: pMixerControlW); |
|
destructor Destroy(); override; |
|
function getListItem(channel: unsigned = 0; index: unsigned = 0): pMixerControlDetailsListText; |
|
function getValue(const def: string; channel: unsigned = 0; index: unsigned = 0): string; overload; |
|
function getValue(def: bool; channel: unsigned = 0; index: unsigned = 0): bool; overload; |
|
function getValue(def: unsigned; channel: unsigned = 0; index: unsigned = 0): unsigned; overload; |
|
function getValueInt(def: int; channel: unsigned = 0; index: unsigned = 0): int; |
|
procedure beginUpdate(); |
|
procedure endUpdate(); |
|
procedure setValue(value: unsigned; channel: int = -1; index: unsigned = 0); overload; |
|
procedure setValue(value: bool; channel: int = -1; index: unsigned = 0); overload; |
|
procedure setValueInt(value: int; channel: int = -1; index: unsigned = 0); |
|
property caps: pMixerControlW read f_caps; |
|
Returns control caps (should be used as read only). |
property controlClass: unsigned read f_controlClass; |
|
property controlID: unsigned read getControlID; |
|
Specifies control ID. |
property controlSubClass: unsigned read f_controlSubClass; |
|
property controlType: unsigned read f_controlType; |
|
property controlUnits: unsigned read f_controlUnits; |
|
property details: pMixerControlDetails read f_details; |
|
property isCustomClass: bool index MIXERCONTROL_CT_CLASS_CUSTOM read getIsControlClass; |
|
property isDisabled: bool index -1 read getIsControl; |
|
property isFaderClass: bool index MIXERCONTROL_CT_CLASS_FADER read getIsControlClass; |
|
property isListClass: bool index MIXERCONTROL_CT_CLASS_LIST read getIsControlClass; |
|
property isMeterClass: bool index MIXERCONTROL_CT_CLASS_METER read getIsControlClass; |
|
property isMultiple: bool index MIXERCONTROL_CONTROLF_MULTIPLE read getIsControl; |
|
property isNumberClass: bool index MIXERCONTROL_CT_CLASS_NUMBER read getIsControlClass; |
|
property isSliderClass: bool index MIXERCONTROL_CT_CLASS_SLIDER read getIsControlClass; |
|
property isSwitchClass: bool index MIXERCONTROL_CT_CLASS_SWITCH read getIsControlClass; |
|
property isTimeClass: bool index MIXERCONTROL_CT_CLASS_TIME read getIsControlClass; |
|
property isUniform: bool index MIXERCONTROL_CONTROLF_UNIFORM read getIsControl; |
|
property listItemsText: unaStringList read f_listItemsText; |
|
If control is list - stores string items assotiated with list. |
property multipleItems: unsigned read f_multipleItems; |
|
(c) 2012 Lake of Soft