TracktionEngine
|
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...
Classes | |
struct | Parameters |
Holds the parameters being used by an HostedAudioDeviceInterface. More... | |
Public Member Functions | |
HostedAudioDeviceInterface (Engine &) | |
void | initialise (const Parameters &) |
void | prepareToPlay (double sampleRate, int blockSize) |
void | processBlock (juce::AudioBuffer< float > &buffer, juce::MidiBuffer &) |
Static Public Member Functions | |
static bool | isHostedMidiInputDevice (const MidiInputDevice &) |
Returns true if the MidiInput device is a HostedMidiInputDevice. More... | |
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()
tracktion::engine::HostedAudioDeviceInterface::HostedAudioDeviceInterface | ( | Engine & | ) |
void tracktion::engine::HostedAudioDeviceInterface::initialise | ( | const Parameters & | ) |
void tracktion::engine::HostedAudioDeviceInterface::prepareToPlay | ( | double | sampleRate, |
int | blockSize | ||
) |
void tracktion::engine::HostedAudioDeviceInterface::processBlock | ( | juce::AudioBuffer< float > & | buffer, |
juce::MidiBuffer & | |||
) |
|
static |
Returns true if the MidiInput device is a HostedMidiInputDevice.