TracktionEngine
Public Attributes | List of all members
tracktion::engine::HostedAudioDeviceInterface::Parameters Struct Reference

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

Public Attributes

double sampleRate = 44100.0
 Expected sample rate. More...
 
int blockSize = 512
 Expected block size. More...
 
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. More...
 
int inputChannels = 2
 Number of audio input channels. More...
 
int outputChannels = 2
 Number of audio output channels. More...
 
juce::StringArray inputNames
 Names of your audio channels. More...
 
juce::StringArray outputNames
 

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

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