tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::engine::ChannelIndex Struct Reference

Describes a channel of a WaveInputDevice or WaveOutputDevice by specifying the channel index in the global device's audio buffer and the purpose as an AudioChannelSet::ChannelType e.g. More...

#include "tracktion_WaveDeviceDescription.h"

Public Member Functions

 ChannelIndex ()
 Creates a default, invalid ChannelIndex.
 
 ChannelIndex (int indexInDevice, juce::AudioChannelSet::ChannelType)
 Creates a ChannelIndex for a given index and a channel type.
 
bool operator== (const ChannelIndex &) const
 
bool operator!= (const ChannelIndex &) const
 

Public Attributes

int indexInDevice
 
juce::AudioChannelSet::ChannelType channel
 

Detailed Description

Describes a channel of a WaveInputDevice or WaveOutputDevice by specifying the channel index in the global device's audio buffer and the purpose as an AudioChannelSet::ChannelType e.g.

left, right, leftSurround etc.

Definition at line 19 of file tracktion_WaveDeviceDescription.h.

Constructor & Destructor Documentation

◆ ChannelIndex() [1/2]

tracktion::engine::ChannelIndex::ChannelIndex ( )

Creates a default, invalid ChannelIndex.

Definition at line 15 of file tracktion_WaveDeviceDescription.cpp.

◆ ChannelIndex() [2/2]

tracktion::engine::ChannelIndex::ChannelIndex ( int  indexInDevice,
juce::AudioChannelSet::ChannelType  c 
)

Creates a ChannelIndex for a given index and a channel type.

Definition at line 17 of file tracktion_WaveDeviceDescription.cpp.

Member Function Documentation

◆ operator!=()

bool tracktion::engine::ChannelIndex::operator!= ( const ChannelIndex other) const

Definition at line 23 of file tracktion_WaveDeviceDescription.cpp.

◆ operator==()

bool tracktion::engine::ChannelIndex::operator== ( const ChannelIndex other) const

Definition at line 22 of file tracktion_WaveDeviceDescription.cpp.

Member Data Documentation

◆ channel

juce::AudioChannelSet::ChannelType tracktion::engine::ChannelIndex::channel

Definition at line 31 of file tracktion_WaveDeviceDescription.h.

◆ indexInDevice

int tracktion::engine::ChannelIndex::indexInDevice

Definition at line 30 of file tracktion_WaveDeviceDescription.h.


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