Job between PlayHandle and MixerChannel.
More...
#include <AudioBusHandle.h>
Job between PlayHandle and MixerChannel.
A ThreadableJob class located at the exit point of each PlayHandle into a MixerChannel (or into an audio device, in case of AudioJack, but this is not supported in AudioBusHandle yet). It contains an optional EffectChain which is e.g. visualized in the gui::InstrumentTrackWindow or gui::SampleTrackWindow. For processing, it adds all input play handles into an internal buffer, processes the EffectChain (if existing) on that buffer and finally merges the buffer into its MixerChannel.
◆ AudioBusHandle()
| lmms::AudioBusHandle::AudioBusHandle |
( |
const QString & | name, |
|
|
bool | hasEffectChain = true, |
|
|
FloatModel * | volumeModel = nullptr, |
|
|
FloatModel * | panningModel = nullptr, |
|
|
BoolModel * | mutedModel = nullptr ) |
◆ ~AudioBusHandle()
| lmms::AudioBusHandle::~AudioBusHandle |
( |
| ) |
|
|
virtual |
◆ addPlayHandle()
| void lmms::AudioBusHandle::addPlayHandle |
( |
PlayHandle * | handle | ) |
|
◆ doProcessing()
| void lmms::AudioBusHandle::doProcessing |
( |
| ) |
|
|
overridevirtual |
◆ effects()
◆ extOutputEnabled()
| bool lmms::AudioBusHandle::extOutputEnabled |
( |
| ) |
const |
|
inline |
◆ isCorrupted()
| bool lmms::AudioBusHandle::isCorrupted |
( |
| ) |
const |
|
inline |
- Returns
- true if the processing outputted corrupted audio (infs/nans).
◆ name()
| const QString & lmms::AudioBusHandle::name |
( |
| ) |
const |
|
inline |
◆ nextMixerChannel()
| mix_ch_t lmms::AudioBusHandle::nextMixerChannel |
( |
| ) |
const |
|
inline |
◆ processEffects()
| bool lmms::AudioBusHandle::processEffects |
( |
| ) |
|
◆ removePlayHandle()
| void lmms::AudioBusHandle::removePlayHandle |
( |
PlayHandle * | handle | ) |
|
◆ requiresProcessing()
| bool lmms::AudioBusHandle::requiresProcessing |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ setExtOutputEnabled()
| void lmms::AudioBusHandle::setExtOutputEnabled |
( |
bool | enabled | ) |
|
◆ setName()
| void lmms::AudioBusHandle::setName |
( |
const QString & | newName | ) |
|
◆ setNextMixerChannel()
| void lmms::AudioBusHandle::setNextMixerChannel |
( |
const mix_ch_t | chnl | ) |
|
|
inline |
◆ AudioEngine
◆ AudioEngineWorkerThread
| friend class AudioEngineWorkerThread |
|
friend |
◆ m_buffer
◆ m_bufferUsage
| volatile bool lmms::AudioBusHandle::m_bufferUsage |
|
private |
◆ m_corrupted
| std::atomic<bool> lmms::AudioBusHandle::m_corrupted = false |
|
private |
◆ m_effects
| std::unique_ptr<EffectChain> lmms::AudioBusHandle::m_effects |
|
private |
◆ m_extOutputEnabled
| bool lmms::AudioBusHandle::m_extOutputEnabled |
|
private |
◆ m_mutedModel
| BoolModel* lmms::AudioBusHandle::m_mutedModel |
|
private |
◆ m_name
| QString lmms::AudioBusHandle::m_name |
|
private |
◆ m_nextMixerChannel
| mix_ch_t lmms::AudioBusHandle::m_nextMixerChannel |
|
private |
◆ m_panningModel
◆ m_playHandleLock
| QMutex lmms::AudioBusHandle::m_playHandleLock |
|
private |
◆ m_playHandles
◆ m_volumeModel
The documentation for this class was generated from the following files: