Loopback audio stream through codecs and DSP filters

Subscribe to RSS news feed

Audio loopback sample

It is possible to fine-tune internal chunk size used by all VC components to achieve smaller latency or better CPU performance according to special needs. Loopback demo shows how to change the chunk size programmatically, and displays codec compression ratio as well as current recording/playback latency.

To calculate the latency this demo compares actual number of samples being recorded and played back. Some audio drivers or sound cards may return incorrect values, so correct calculation is not always possible.


Precompiled binary of this sample is included in the Demos package.