The HostedAudioDeviceInterface allows an application or plugin to pass audio and midi buffers to the engine, rather than the engine directly opening the audio devices.
More...
#include <tracktion_HostedAudioDevice.h>
The HostedAudioDeviceInterface allows an application or plugin to pass audio and midi buffers to the engine, rather than the engine directly opening the audio devices.
This may be required for plugins or applications that run multiple copies of the engine.
Don't create this class directly, it can be optained from the DeviceManager via getHostedAudioDeviceInterface()
◆ HostedAudioDeviceInterface()
tracktion::engine::HostedAudioDeviceInterface::HostedAudioDeviceInterface |
( |
Engine & |
| ) |
|
◆ initialise()
void tracktion::engine::HostedAudioDeviceInterface::initialise |
( |
const Parameters & |
| ) |
|
◆ prepareToPlay()
void tracktion::engine::HostedAudioDeviceInterface::prepareToPlay |
( |
double |
sampleRate, |
|
|
int |
blockSize |
|
) |
| |
◆ processBlock()
void tracktion::engine::HostedAudioDeviceInterface::processBlock |
( |
juce::AudioBuffer< float > & |
buffer, |
|
|
juce::MidiBuffer & |
|
|
) |
| |
◆ isHostedMidiInputDevice()
static bool tracktion::engine::HostedAudioDeviceInterface::isHostedMidiInputDevice |
( |
const MidiInputDevice & |
| ) |
|
|
static |
Returns true if the MidiInput device is a HostedMidiInputDevice.
The documentation for this class was generated from the following file: