|
TracktionEngine
|
A (virtual) audio output device. More...
#include <tracktion_WaveOutputDevice.h>
Public Member Functions | |
| WaveOutputDevice (Engine &, const WaveDeviceDescription &) | |
| ~WaveOutputDevice () override | |
| void | resetToDefault () |
| juce::String | getDeviceTypeDescription () const override |
| void | setEnabled (bool) override |
| const ChannelConfiguration & | getChannels () const noexcept |
| const juce::AudioChannelSet & | getChannelSet () const noexcept |
| void | reverseChannels (bool) |
| bool | isReversed () const |
| void | setDithered (bool) |
| bool | isDithered () const |
| int | getLeftChannel () const |
| int | getRightChannel () const |
| bool | isStereoPair () const |
| void | setStereoPair (bool) |
| juce::PopupMenu | createChannelGroupMenu (bool includeSetAllChannelsOptions) |
| WaveOutputDeviceInstance * | createInstance (EditPlaybackContext &) |
| void | updateLevelMeasurer (float *const *outputChannelData, int totalNumOutputChannels, int numSamples) |
| void | startTestTone () |
| Starts a gentle 1 second 440 Hz sine test tone playing through this device's channels. | |
| void | renderTestTone (float *const *outputChannelData, int totalNumOutputChannels, int numSamples) |
| Called on the audio thread — mixes any in-progress test tone into the device's output channels. | |
Public Member Functions inherited from engine::OutputDevice | |
| OutputDevice (Engine &, juce::String name, juce::String deviceID) | |
| ~OutputDevice () override | |
| bool | isMidi () const override |
| bool | isTrackDevice () const override |
Public Attributes | |
| WaveDeviceDescription | deviceDescription |
| LevelMeasurer | levelMeasurer |
Protected Member Functions | |
| juce::String | openDevice () override |
| void | closeDevice () override |
A (virtual) audio output device.
There'll be one or more instances of these, each one representing a group of channels from a physical device.
| engine::WaveOutputDevice::WaveOutputDevice | ( | Engine & | , |
| const WaveDeviceDescription & | |||
| ) |
|
override |
| void engine::WaveOutputDevice::resetToDefault | ( | ) |
|
override |
|
override |
|
noexcept |
|
noexcept |
| void engine::WaveOutputDevice::reverseChannels | ( | bool | ) |
| bool engine::WaveOutputDevice::isReversed | ( | ) | const |
| void engine::WaveOutputDevice::setDithered | ( | bool | ) |
| bool engine::WaveOutputDevice::isDithered | ( | ) | const |
| int engine::WaveOutputDevice::getLeftChannel | ( | ) | const |
| int engine::WaveOutputDevice::getRightChannel | ( | ) | const |
| bool engine::WaveOutputDevice::isStereoPair | ( | ) | const |
| void engine::WaveOutputDevice::setStereoPair | ( | bool | ) |
| juce::PopupMenu engine::WaveOutputDevice::createChannelGroupMenu | ( | bool | includeSetAllChannelsOptions | ) |
| WaveOutputDeviceInstance * engine::WaveOutputDevice::createInstance | ( | EditPlaybackContext & | ) |
| void engine::WaveOutputDevice::updateLevelMeasurer | ( | float *const * | outputChannelData, |
| int | totalNumOutputChannels, | ||
| int | numSamples | ||
| ) |
| void engine::WaveOutputDevice::startTestTone | ( | ) |
Starts a gentle 1 second 440 Hz sine test tone playing through this device's channels.
| void engine::WaveOutputDevice::renderTestTone | ( | float *const * | outputChannelData, |
| int | totalNumOutputChannels, | ||
| int | numSamples | ||
| ) |
Called on the audio thread — mixes any in-progress test tone into the device's output channels.
|
overrideprotectedvirtual |
Implements engine::OutputDevice.
|
overrideprotectedvirtual |
Implements engine::OutputDevice.
| WaveDeviceDescription engine::WaveOutputDevice::deviceDescription |
| LevelMeasurer engine::WaveOutputDevice::levelMeasurer |