General info | Getting started | Samples | Components reference | FAQ | Solutions |

Components reference


    Equalizer

Provides equalization bands with adjustable frequencies. These parametric (variable) bands let you make exact adjustments within a given frequency range.

Frequencies are configured automatically or manually (Get/SetFrequency). Use Get/SetGain to adjust volume of a band.

Implements
IEqualizerdefault 
IvcproBaseEventsdefaultsource
IvcproProvider  
IvcproConsumer  

IEqualizer
Dispatch interface for Equalizer component
Methods
float GetFrequency(long Index)Returns frequency of a band specified by the Index parameter
float SetFrequency(long Index, float Value)Assigns frequency to a band specified by the Index parameter
float GetGain(long Index)Returns volume (dB) of a band
float SetGain(long Index, float Value)Assigns volume (dB) to a band
void Flush()Completes processing of the last available data. Recommended to call before component closing
VARIANT GetData()Reads available data from output stream. Usually used when OnDataAvailable event fires
void SetData(VARIANT* data)Writes data to input stream
Properties
bool ActiveSet to true to activate (open) the component. All other properties should be set to proper values before activation. Set to false to deactivate (close) the component
bool AutoActivateWhen true tells the component it must activate consumer (if any) before activating itself. Same applies for deactivation. When false the component does not change the consumer state
long DataSizeInReturns data written into but not yet processed by the pipe
long DataSizeOutReturns data size available to read from the pipe
BSTR DumpInputFile name to dump the component input data to
BSTR DumpOutputFile name to dump the component output data to
unaFreqAssignMode FreqAssignModeSpecifies whether automatical (unafam_powerOf2) or manual (unafam_manual) frequency calculation mode is used
bool IsFormatProviderWhen true the component will assign stream format to the consumer (if any). This simplifies the process of distributing stream format among linked components. For example WaveRiff component can assign PCM format to linked WaveOutDevice component, so WAVe file will be played back correctly
long NumBandsSpecifies number of frequency bands
long OverNumSpecifies how many chunks of data component can store in input or output buffer, if data cannot be processed immediately. Every chunk holds 1/10 sec. of audio. Set this property to 0 to disable the buffer overflow checking (NOTE: be carefully, since this could lead to uncontrolled memory usage grow)
long PcmBitsPerSampleSpecifies number of bits per sample for wave device
long PcmNumChannelsSpecifies number of channels per sample for wave device
long PcmSamplesPerSecSpecifies number of samples per second for wave device
bool SyncEventsSpecifies whether events calls synchronized through main thread


See also...

Base interfaces

Wave processing components:
WaveIn, WaveOut, WaveCodec, WaveRiff, WaveMixer, WaveResampler, WaveMultiBandSplitter

Legacy IP components:
IpServer, IpClient, IpBroadcastServer, IpBroadcastClient, MediaGate, ConferenceServer

RTP streaming components:
IPReceiver, IPTransmitter, RTPConfClient, RTPConfServer

Misc. components:
VolumeControl, DisplayBands


VCX Library 3.0 © 2012 Lake of Soft
All rights reserved.