Home Units Hierarchy Routines All identifiers

Class unaMsMixerControl

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaMsMixerControl = class(unaMsMixerObject)

Description

Mixer control. Every line has several controls connected to it.

Hierarchy

Overview

Methods

Public constructor create(master: unaMsMixerLine; caps: pMixerControlW);
Public destructor Destroy(); override;
Public function getListItem(channel: unsigned = 0; index: unsigned = 0): pMixerControlDetailsListText;
Public function getValue(const def: string; channel: unsigned = 0; index: unsigned = 0): string; overload;
Public function getValue(def: bool; channel: unsigned = 0; index: unsigned = 0): bool; overload;
Public function getValue(def: unsigned; channel: unsigned = 0; index: unsigned = 0): unsigned; overload;
Public function getValueInt(def: int; channel: unsigned = 0; index: unsigned = 0): int;
Public procedure beginUpdate();
Public procedure endUpdate();
Public procedure setValue(value: unsigned; channel: int = -1; index: unsigned = 0); overload;
Public procedure setValue(value: bool; channel: int = -1; index: unsigned = 0); overload;
Public procedure setValueInt(value: int; channel: int = -1; index: unsigned = 0);

Properties

Public property caps: pMixerControlW read f_caps;
Public property controlClass: unsigned read f_controlClass;
Public property controlID: unsigned read getControlID;
Public property controlSubClass: unsigned read f_controlSubClass;
Public property controlType: unsigned read f_controlType;
Public property controlUnits: unsigned read f_controlUnits;
Public property details: pMixerControlDetails read f_details;
Public property isCustomClass: bool index MIXERCONTROL_CT_CLASS_CUSTOM read getIsControlClass;
Public property isDisabled: bool index -1 read getIsControl;
Public property isFaderClass: bool index MIXERCONTROL_CT_CLASS_FADER read getIsControlClass;
Public property isListClass: bool index MIXERCONTROL_CT_CLASS_LIST read getIsControlClass;
Public property isMeterClass: bool index MIXERCONTROL_CT_CLASS_METER read getIsControlClass;
Public property isMultiple: bool index MIXERCONTROL_CONTROLF_MULTIPLE read getIsControl;
Public property isNumberClass: bool index MIXERCONTROL_CT_CLASS_NUMBER read getIsControlClass;
Public property isSliderClass: bool index MIXERCONTROL_CT_CLASS_SLIDER read getIsControlClass;
Public property isSwitchClass: bool index MIXERCONTROL_CT_CLASS_SWITCH read getIsControlClass;
Public property isTimeClass: bool index MIXERCONTROL_CT_CLASS_TIME read getIsControlClass;
Public property isUniform: bool index MIXERCONTROL_CONTROLF_UNIFORM read getIsControl;
Public property listItemsText: unaStringList read f_listItemsText;
Public property multipleItems: unsigned read f_multipleItems;

Description

Methods

Public constructor create(master: unaMsMixerLine; caps: pMixerControlW);
 
Public destructor Destroy(); override;
 
Public function getListItem(channel: unsigned = 0; index: unsigned = 0): pMixerControlDetailsListText;
 
Public function getValue(const def: string; channel: unsigned = 0; index: unsigned = 0): string; overload;
 
Public function getValue(def: bool; channel: unsigned = 0; index: unsigned = 0): bool; overload;
 
Public function getValue(def: unsigned; channel: unsigned = 0; index: unsigned = 0): unsigned; overload;
 
Public function getValueInt(def: int; channel: unsigned = 0; index: unsigned = 0): int;
 
Public procedure beginUpdate();
 
Public procedure endUpdate();
 
Public procedure setValue(value: unsigned; channel: int = -1; index: unsigned = 0); overload;
 
Public procedure setValue(value: bool; channel: int = -1; index: unsigned = 0); overload;
 
Public procedure setValueInt(value: int; channel: int = -1; index: unsigned = 0);
 

Properties

Public property caps: pMixerControlW read f_caps;

Returns control caps (should be used as read only).

Public property controlClass: unsigned read f_controlClass;
 
Public property controlID: unsigned read getControlID;

Specifies control ID.

Public property controlSubClass: unsigned read f_controlSubClass;
 
Public property controlType: unsigned read f_controlType;
 
Public property controlUnits: unsigned read f_controlUnits;
 
Public property details: pMixerControlDetails read f_details;
 
Public property isCustomClass: bool index MIXERCONTROL_CT_CLASS_CUSTOM read getIsControlClass;
 
Public property isDisabled: bool index -1 read getIsControl;
 
Public property isFaderClass: bool index MIXERCONTROL_CT_CLASS_FADER read getIsControlClass;
 
Public property isListClass: bool index MIXERCONTROL_CT_CLASS_LIST read getIsControlClass;
 
Public property isMeterClass: bool index MIXERCONTROL_CT_CLASS_METER read getIsControlClass;
 
Public property isMultiple: bool index MIXERCONTROL_CONTROLF_MULTIPLE read getIsControl;
 
Public property isNumberClass: bool index MIXERCONTROL_CT_CLASS_NUMBER read getIsControlClass;
 
Public property isSliderClass: bool index MIXERCONTROL_CT_CLASS_SLIDER read getIsControlClass;
 
Public property isSwitchClass: bool index MIXERCONTROL_CT_CLASS_SWITCH read getIsControlClass;
 
Public property isTimeClass: bool index MIXERCONTROL_CT_CLASS_TIME read getIsControlClass;
 
Public property isUniform: bool index MIXERCONTROL_CONTROLF_UNIFORM read getIsControl;
 
Public property listItemsText: unaStringList read f_listItemsText;

If control is list - stores string items assotiated with list.

Public property multipleItems: unsigned read f_multipleItems;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09