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

Getting started


Providers & consumers

Usually a number of components from VCX Library work together, some act as providers, some as consumers, some both. Provider transfers data stream to consumer and consumer may transcode audio and pass to its consumer.

Components that may act as providers implements IvcproProvider interface. Components that may act as consumers implements IvcproConsumer interface.

For example, in the link WaveIn => WaveOut, WaveIn is a provider and WaveOut is a consumer. You must make this link in runtime by calling addConsumer2() method. This method takes one parameter, which could be obtained from consumer using asConsumer() method.

Sample code for linking WaveIn and WaveOut components:


waveIn.addConsumer2(waveOut.asConsumer());


See also...

Adding library to the project


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