Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
Spectrum.GetTable method 
 
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 details about using Visual Feedbacks refer to the How to use embedded Visual Feedbacks section. 
 
 
Syntax 
 
[Visual Basic] 
control.Spectrum.GetTable
nPlayer as Integer
tableValues as Integer, 
nTableLength as Integer 
 
[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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents