LMMS
Loading...
Searching...
No Matches
lmms::MixerChannel Class Reference

#include <Mixer.h>

Inheritance diagram for lmms::MixerChannel:
lmms::ThreadableJob

Public Member Functions

 MixerChannel (int idx, Model *_parent)
virtual ~MixerChannel ()
int index () const
void setIndex (int index)
bool isMaster ()
bool requiresProcessing () const override
void unmuteForSolo ()
void unmuteSenderForSolo ()
void unmuteReceiverForSolo ()
auto color () const -> const std::optional< QColor > &
void setColor (const std::optional< QColor > &color)
void incrementDeps ()
void processed ()
Public Member Functions inherited from lmms::ThreadableJob
 ThreadableJob ()
ProcessingState state () const
void reset ()
void queue ()
void done ()
void process ()

Public Attributes

EffectChain m_fxChain
bool m_stillRunning
float m_peakLeft
float m_peakRight
AudioBuffer m_buffer
bool m_muteBeforeSolo
BoolModel m_muteModel
BoolModel m_soloModel
FloatModel m_volumeModel
QString m_name
QMutex m_lock
bool m_queued
bool m_muted
MixerRouteVector m_sends
MixerRouteVector m_receives
std::atomic_size_t m_dependenciesMet

Private Member Functions

void doProcessing () override

Private Attributes

int m_channelIndex
std::optional< QColor > m_color

Additional Inherited Members

Public Types inherited from lmms::ThreadableJob
enum class  ProcessingState : int { Unstarted , Queued , InProgress , Done }
Protected Attributes inherited from lmms::ThreadableJob
std::atomic< ProcessingStatem_state

Constructor & Destructor Documentation

◆ MixerChannel()

lmms::MixerChannel::MixerChannel ( int idx,
Model * _parent )

◆ ~MixerChannel()

lmms::MixerChannel::~MixerChannel ( )
virtual

Member Function Documentation

◆ color()

auto lmms::MixerChannel::color ( ) const -> const std::optional< QColor > &
inline

◆ doProcessing()

void lmms::MixerChannel::doProcessing ( )
overrideprivatevirtual

Implements lmms::ThreadableJob.

◆ incrementDeps()

void lmms::MixerChannel::incrementDeps ( )

◆ index()

int lmms::MixerChannel::index ( ) const
inline

◆ isMaster()

bool lmms::MixerChannel::isMaster ( )
inline

◆ processed()

void lmms::MixerChannel::processed ( )
inline

◆ requiresProcessing()

bool lmms::MixerChannel::requiresProcessing ( ) const
inlineoverridevirtual

Implements lmms::ThreadableJob.

◆ setColor()

void lmms::MixerChannel::setColor ( const std::optional< QColor > & color)
inline

◆ setIndex()

void lmms::MixerChannel::setIndex ( int index)
inline

◆ unmuteForSolo()

void lmms::MixerChannel::unmuteForSolo ( )

◆ unmuteReceiverForSolo()

void lmms::MixerChannel::unmuteReceiverForSolo ( )

◆ unmuteSenderForSolo()

void lmms::MixerChannel::unmuteSenderForSolo ( )

Member Data Documentation

◆ m_buffer

AudioBuffer lmms::MixerChannel::m_buffer

◆ m_channelIndex

int lmms::MixerChannel::m_channelIndex
private

◆ m_color

std::optional<QColor> lmms::MixerChannel::m_color
private

◆ m_dependenciesMet

std::atomic_size_t lmms::MixerChannel::m_dependenciesMet

◆ m_fxChain

EffectChain lmms::MixerChannel::m_fxChain

◆ m_lock

QMutex lmms::MixerChannel::m_lock

◆ m_muteBeforeSolo

bool lmms::MixerChannel::m_muteBeforeSolo

◆ m_muted

bool lmms::MixerChannel::m_muted

◆ m_muteModel

BoolModel lmms::MixerChannel::m_muteModel

◆ m_name

QString lmms::MixerChannel::m_name

◆ m_peakLeft

float lmms::MixerChannel::m_peakLeft

◆ m_peakRight

float lmms::MixerChannel::m_peakRight

◆ m_queued

bool lmms::MixerChannel::m_queued

◆ m_receives

MixerRouteVector lmms::MixerChannel::m_receives

◆ m_sends

MixerRouteVector lmms::MixerChannel::m_sends

◆ m_soloModel

BoolModel lmms::MixerChannel::m_soloModel

◆ m_stillRunning

bool lmms::MixerChannel::m_stillRunning

◆ m_volumeModel

FloatModel lmms::MixerChannel::m_volumeModel

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