Remarks
Obtains the table of values related to each band of the spectrum: you can call this method each time you catch the SpectrumValueChange event.
For further details about using the embedded Spectrum refer to the Spectrum object section.
For details about using Visual Feedbacks refer to the How to use the embedded Visual Feedbacks section.
Syntax
[Visual Basic]
control.Spectrum.GetTable (
nPlayer as Integer,
tableValues as Integer,
nTableLength as Integer
) as enumErrorCodes
|
|
[C++]
short control.Spectrum.GetTable (
short nPlayer,
short *tableValues,
short nTableLength
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the player that will use the Spectrum
|
tableValues
|
Memory buffer that, on exit, will contain all of the available spectrum values: each value (2 bytes long) is in the range from 0 to 100.
|
nTableLength
|
Length of the table that needs to be obtained, expressed in number of values: the maximum number of values generated by the control is 64 and exceeding this limit would be useless.
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred, check the LastError property value in order to see the error code meaning
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|