Describes a group of audio channels from a physical device, which are to be treated as a WaveInputDevice or WaveOutputDevice.
More...
#include <tracktion_WaveDeviceDescription.h>
Describes a group of audio channels from a physical device, which are to be treated as a WaveInputDevice or WaveOutputDevice.
◆ WaveDeviceDescription() [1/2]
| engine::WaveDeviceDescription::WaveDeviceDescription |
( |
| ) |
|
Creates an invalid device description.
◆ WaveDeviceDescription() [2/2]
| engine::WaveDeviceDescription::WaveDeviceDescription |
( |
const juce::String & |
name, |
|
|
ChannelConfiguration |
, |
|
|
bool |
isEnabled |
|
) |
| |
◆ withNumChannels()
| static WaveDeviceDescription engine::WaveDeviceDescription::withNumChannels |
( |
const juce::String & |
name, |
|
|
uint32_t |
firstChannelIndexInDevice, |
|
|
uint32_t |
numChannels, |
|
|
bool |
enabled |
|
) |
| |
|
static |
◆ toJSON()
| choc::value::Value engine::WaveDeviceDescription::toJSON |
( |
| ) |
const |
◆ fromJSON()
◆ toString()
| std::string engine::WaveDeviceDescription::toString |
( |
| ) |
const |
◆ fromString()
◆ setNumChannels() [1/2]
| void engine::WaveDeviceDescription::setNumChannels |
( |
uint32_t |
firstChannelIndexInDevice, |
|
|
uint32_t |
newNumChannels |
|
) |
| |
◆ setNumChannels() [2/2]
| void engine::WaveDeviceDescription::setNumChannels |
( |
uint32_t |
newNumChannels | ) |
|
◆ setChannelConfiguration()
| void engine::WaveDeviceDescription::setChannelConfiguration |
( |
ChannelConfiguration |
newChannels | ) |
|
◆ getNumChannels()
| uint32_t engine::WaveDeviceDescription::getNumChannels |
( |
| ) |
const |
◆ getDeviceChannelRange()
| std::pair< uint32_t, uint32_t > engine::WaveDeviceDescription::getDeviceChannelRange |
( |
| ) |
const |
◆ operator==()
◆ operator!=()
◆ name
| juce::String engine::WaveDeviceDescription::name |
◆ channels
| ChannelConfiguration engine::WaveDeviceDescription::channels |
◆ enabled
| bool engine::WaveDeviceDescription::enabled = true |
The documentation for this struct was generated from the following file: