TracktionEngine
Loading...
Searching...
No Matches
Public Attributes | List of all members
tracktion::engine::HostedAudioDeviceInterface::Parameters Struct Reference

Holds the parameters being used by an HostedAudioDeviceInterface. More...

#include <tracktion_HostedAudioDevice.h>

Public Attributes

double sampleRate = 44100.0
 Expected sample rate.
 
int blockSize = 512
 Expected block size.
 
bool useMidiDevices = false
 If true, the system midi devices will be avaliable to the engine, if false, just a single midi input and output will be avaliable, which will be fed from the midi buffer provided to processBlock.
 
int inputChannels = 2
 Number of audio input channels.
 
int outputChannels = 2
 Number of audio output channels.
 
juce::StringArray inputNames
 Names of your audio channels.
 
juce::StringArray outputNames
 
int inputLatencyNumSamples = 0
 
int outputLatencyNumSamples = 0
 

Detailed Description

Holds the parameters being used by an HostedAudioDeviceInterface.

Member Data Documentation

◆ sampleRate

double tracktion::engine::HostedAudioDeviceInterface::Parameters::sampleRate = 44100.0

Expected sample rate.

This can be changed later with prepareToPlay

◆ blockSize

int tracktion::engine::HostedAudioDeviceInterface::Parameters::blockSize = 512

Expected block size.

This can be changed later with prepareToPlay

◆ useMidiDevices

bool tracktion::engine::HostedAudioDeviceInterface::Parameters::useMidiDevices = false

If true, the system midi devices will be avaliable to the engine, if false, just a single midi input and output will be avaliable, which will be fed from the midi buffer provided to processBlock.

◆ inputChannels

int tracktion::engine::HostedAudioDeviceInterface::Parameters::inputChannels = 2

Number of audio input channels.

◆ outputChannels

int tracktion::engine::HostedAudioDeviceInterface::Parameters::outputChannels = 2

Number of audio output channels.

◆ inputNames

juce::StringArray tracktion::engine::HostedAudioDeviceInterface::Parameters::inputNames

Names of your audio channels.

If left empty, names will automatically be generated

◆ outputNames

juce::StringArray tracktion::engine::HostedAudioDeviceInterface::Parameters::outputNames

◆ inputLatencyNumSamples

int tracktion::engine::HostedAudioDeviceInterface::Parameters::inputLatencyNumSamples = 0

The number of samples to delay the input by. N.B. For testing only.

◆ outputLatencyNumSamples

int tracktion::engine::HostedAudioDeviceInterface::Parameters::outputLatencyNumSamples = 0

The number of samples to delay the output by. N.B. For testing only.


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