9#ifndef __AUDIO_CONTROL_ROOM_H__
10#define __AUDIO_CONTROL_ROOM_H__
22#define CONTROL_ROOM_SCHEMA_VERSION 2
24#define CONTROL_ROOM (AUDIO_ENGINE->control_room)
26#define control_room_is_in_active_project(self) \
27 (self->audio_engine && engine_is_in_active_project (self->audio_engine))
Backend for faders or other volume/gain controls.
NONNULL_ARGS(1) int undo_manager_undo(UndoManager *self
Undo last action.
void control_room_set_dim_output(ControlRoom *self, int dim_output)
Sets dim_output to on/off and notifies interested parties.
NONNULL ControlRoom * control_room_clone(const ControlRoom *src)
Used during serialization.
COLD WARN_UNUSED_RESULT ControlRoom * control_room_new(AudioEngine *engine)
Creates a new control room.
The control room allows to specify how Listen will work on each Channel and to set overall volume aft...
Fader * dim_fader
The volume to set other channels to when Listen is enabled on a Channel, or the monitor when dim is e...
AudioEngine * audio_engine
Pointer to owner audio engine, if any.
Fader * listen_fader
The volume to set listened channels to when Listen is enabled on a Channel.
Fader * monitor_fader
Monitor fader.
bool dim_output
Dim the output volume.
Fader * mute_fader
The volume to set muted channels to when soloing/muting.
A Fader is a processor that is used for volume controls and pan.