Converts an array of bytes into an array of integers with values ranging from -32768 to 32767
This function is used, internally by the control, but you may also use it when handling the PeakValues event.
Namespace: NDXVUMeterNETAssembly: DXVUMeterNETGDI (in DXVUMeterNETGDI.dll) Version: 3.0.4021.33606 (3.1.0.0)
Syntax
C# |
---|
public int[] NormalizeBuffer( ref byte[] source ) |
Visual Basic |
---|
Public Function NormalizeBuffer ( _ ByRef source As Byte() _ ) As Integer() |
Visual C++ |
---|
public: array<int>^ NormalizeBuffer( array<unsigned char>^% source ) |
Parameters
- source
- Type: array<System..::..Byte>[]()[][]%
Takes an array of bytes
Return Value
Returns an array of integersRemarks
The conversion from bytes to integers is dependant on the currently selected quality (ampling frequency, number of chanels,
and bit depth.