LMMS
Loading...
Searching...
No Matches
Steinberg::Vst::IAudioPresentationLatency Class Referenceabstract

#include <ivstaudioprocessor.h>

Inheritance diagram for Steinberg::Vst::IAudioPresentationLatency:
Steinberg::FUnknown

Public Member Functions

virtual tresult PLUGIN_API setAudioPresentationLatencySamples (BusDirection dir, int32 busIndex, uint32 latencyInSamples)=0
Public Member Functions inherited from Steinberg::FUnknown
virtual tresult PLUGIN_API queryInterface (const TUID _iid, void **obj)=0
virtual uint32 PLUGIN_API addRef ()=0
virtual uint32 PLUGIN_API release ()=0

Static Public Attributes

static const FUID iid
Static Public Attributes inherited from Steinberg::FUnknown
static const FUID iid

Detailed Description

Extended IAudioProcessor interface for a component: Vst::IAudioPresentationLatency

Inform the plug-in about how long from the moment of generation/acquiring (from file or from Input) it will take for its input to arrive, and how long it will take for its output to be presented (to output or to speaker).

Note for Input Presentation Latency: when reading from file, the first plug-in will have an input presentation latency set to zero. When monitoring audio input from an audio device, the initial input latency is the input latency of the audio device itself.

Note for Output Presentation Latency: when writing to a file, the last plug-in will have an output presentation latency set to zero. When the output of this plug-in is connected to an audio device, the initial output latency is the output latency of the audio device itself.

A value of zero either means no latency or an unknown latency.

Each plug-in adding a latency (returning a none zero value for IAudioProcessor::getLatencySamples) will modify the input presentation latency of the next plug-ins in the mixer routing graph and will modify the output presentation latency of the previous plug-ins.



See also
IAudioProcessor
IComponent

Member Function Documentation

◆ setAudioPresentationLatencySamples()

virtual tresult PLUGIN_API Steinberg::Vst::IAudioPresentationLatency::setAudioPresentationLatencySamples ( BusDirection dir,
int32 busIndex,
uint32 latencyInSamples )
pure virtual

Informs the plug-in about the Audio Presentation Latency in samples for a given direction (kInput/kOutput) and bus index.

Member Data Documentation

◆ iid

const FUID Steinberg::Vst::IAudioPresentationLatency::iid
static

The documentation for this class was generated from the following file: