TracktionEngine
Public Member Functions | Public Attributes | List of all members
tracktion::engine::WaveDeviceDescription Struct Reference

Describes a WaveDevice from which the WaveOutputDevice and WaveInputDevice lists will be built. More...

Public Member Functions

 WaveDeviceDescription ()
 Creates an invalid device description. More...
 
 WaveDeviceDescription (const juce::String &name, int leftChanIndex, int rightChanIndex, bool isEnabled)
 Creates a WaveDevieDescription from left and right channel indicies. More...
 
 WaveDeviceDescription (const juce::String &nm, const ChannelIndex *channels, int numChannels, bool isEnabled)
 Creates a WaveDeviceDescription for a given set of channels. More...
 
bool operator== (const WaveDeviceDescription &) const
 
bool operator!= (const WaveDeviceDescription &) const
 

Public Attributes

juce::String name
 
std::vector< ChannelIndexchannels
 
bool enabled = true
 

Detailed Description

Describes a WaveDevice from which the WaveOutputDevice and WaveInputDevice lists will be built.

Constructor & Destructor Documentation

◆ WaveDeviceDescription() [1/3]

tracktion::engine::WaveDeviceDescription::WaveDeviceDescription ( )

Creates an invalid device description.

◆ WaveDeviceDescription() [2/3]

tracktion::engine::WaveDeviceDescription::WaveDeviceDescription ( const juce::String &  name,
int  leftChanIndex,
int  rightChanIndex,
bool  isEnabled 
)

Creates a WaveDevieDescription from left and right channel indicies.

◆ WaveDeviceDescription() [3/3]

tracktion::engine::WaveDeviceDescription::WaveDeviceDescription ( const juce::String &  nm,
const ChannelIndex channels,
int  numChannels,
bool  isEnabled 
)

Creates a WaveDeviceDescription for a given set of channels.

Member Function Documentation

◆ operator==()

bool tracktion::engine::WaveDeviceDescription::operator== ( const WaveDeviceDescription ) const

◆ operator!=()

bool tracktion::engine::WaveDeviceDescription::operator!= ( const WaveDeviceDescription ) const

Member Data Documentation

◆ name

juce::String tracktion::engine::WaveDeviceDescription::name

◆ channels

std::vector<ChannelIndex> tracktion::engine::WaveDeviceDescription::channels

◆ enabled

bool tracktion::engine::WaveDeviceDescription::enabled = true

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