Ardour  9.0-pre0-822-g12e3bc5c20
AudioRegionEditor Class Reference

#include <audio_region_editor.h>

Inheritance diagram for AudioRegionEditor:
[legend]

Public Member Functions

 AudioRegionEditor (ARDOUR::Session *, AudioRegionView *)
 
 ~AudioRegionEditor ()
 
void peak_amplitude_thread ()
 
void on_unmap ()
 
- Public Member Functions inherited from RegionEditor
 RegionEditor (ARDOUR::Session *, RegionView *)
 
virtual ~RegionEditor ()
 
std::shared_ptr< ARDOUR::Regionregion () const
 
- Public Member Functions inherited from ArdourWidgets::Frame
 Frame (Orientation orientation=Horizontal, bool force_boxy=false)
 
 ~Frame ()
 
void set_label (std::string const &)
 
void set_padding (int)
 
void set_edge_color (Gtkmm2ext::Color)
 
void reset_edge_color ()
 
void set_draw (bool yn)
 
bool draw () const
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 

Private Member Functions

void region_changed (PBD::PropertyChange const &)
 
void region_fx_changed ()
 
void gain_changed ()
 
void gain_adjustment_changed ()
 
void refill_region_line ()
 
void show_on_touch_changed ()
 
void show_touched_automation (std::weak_ptr< PBD::Controllable >)
 
void fade_before_fx_changed ()
 
void fade_before_fx_toggle_changed ()
 
void signal_peak_thread ()
 
void peak_amplitude_found (double)
 

Private Attributes

AudioRegionView_arv
 
std::shared_ptr< ARDOUR::AudioRegion_audio_region
 
Gtk::Label _gain_label
 
Gtk::Adjustment _gain_adjustment
 
Gtk::SpinButton _gain_entry
 
Gtk::Label _polarity_label
 
Gtk::CheckButton _polarity_toggle
 
Gtk::CheckButton _fade_before_fx_toggle
 
Gtk::Label _peak_amplitude_label
 
Gtk::Entry _peak_amplitude
 
Gtk::Label _region_line_label
 
ArdourWidgets::ArdourDropdown _region_line
 
Gtk::CheckButton _show_on_touch
 
PBD::ScopedConnection _ctrl_touched_connection
 
PBD::Signal< void(double)> PeakAmplitudeFound
 
pthread_t _peak_amplitude_thread_handle
 
PBD::ScopedConnection _peak_amplitude_connection
 
CrossThreadChannel _peak_channel
 

Additional Inherited Members

- Public Types inherited from ArdourWidgets::Frame
enum  Orientation { Horizontal , Vertical }
 
- Static Public Member Functions inherited from Gtkmm2ext::CairoTheme
static void set_flat_buttons (bool yn)
 
static void set_boxy_buttons (bool yn)
 
static void set_widget_prelight (bool yn)
 
static bool flat_buttons ()
 
static bool boxy_buttons ()
 
static bool widget_prelight ()
 
- Protected Member Functions inherited from ArdourWidgets::Frame
void on_add (Gtk::Widget *)
 
void on_remove (Gtk::Widget *)
 
void on_size_request (GtkRequisition *)
 
void on_size_allocate (Gtk::Allocation &)
 
bool on_expose_event (GdkEventExpose *)
 
void on_style_changed (const Glib::RefPtr< Gtk::Style > &)
 
void on_name_changed ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Attributes inherited from RegionEditor
Gtk::Table _table_main
 
Gtk::Table _table_clocks
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 55 of file audio_region_editor.h.

Constructor & Destructor Documentation

◆ AudioRegionEditor()

AudioRegionEditor::AudioRegionEditor ( ARDOUR::Session ,
AudioRegionView  
)

◆ ~AudioRegionEditor()

AudioRegionEditor::~AudioRegionEditor ( )

Member Function Documentation

◆ fade_before_fx_changed()

void AudioRegionEditor::fade_before_fx_changed ( )
private

◆ fade_before_fx_toggle_changed()

void AudioRegionEditor::fade_before_fx_toggle_changed ( )
private

◆ gain_adjustment_changed()

void AudioRegionEditor::gain_adjustment_changed ( )
private

◆ gain_changed()

void AudioRegionEditor::gain_changed ( )
private

◆ on_unmap()

void AudioRegionEditor::on_unmap ( )

◆ peak_amplitude_found()

void AudioRegionEditor::peak_amplitude_found ( double  )
private

◆ peak_amplitude_thread()

void AudioRegionEditor::peak_amplitude_thread ( )

◆ refill_region_line()

void AudioRegionEditor::refill_region_line ( )
private

◆ region_changed()

void AudioRegionEditor::region_changed ( PBD::PropertyChange const &  )
privatevirtual

Reimplemented from RegionEditor.

◆ region_fx_changed()

void AudioRegionEditor::region_fx_changed ( )
privatevirtual

Reimplemented from RegionEditor.

◆ show_on_touch_changed()

void AudioRegionEditor::show_on_touch_changed ( )
private

◆ show_touched_automation()

void AudioRegionEditor::show_touched_automation ( std::weak_ptr< PBD::Controllable )
private

◆ signal_peak_thread()

void AudioRegionEditor::signal_peak_thread ( )
private

Member Data Documentation

◆ _arv

AudioRegionView* AudioRegionEditor::_arv
private

Definition at line 78 of file audio_region_editor.h.

◆ _audio_region

std::shared_ptr<ARDOUR::AudioRegion> AudioRegionEditor::_audio_region
private

Definition at line 79 of file audio_region_editor.h.

◆ _ctrl_touched_connection

PBD::ScopedConnection AudioRegionEditor::_ctrl_touched_connection
private

Definition at line 97 of file audio_region_editor.h.

◆ _fade_before_fx_toggle

Gtk::CheckButton AudioRegionEditor::_fade_before_fx_toggle
private

Definition at line 88 of file audio_region_editor.h.

◆ _gain_adjustment

Gtk::Adjustment AudioRegionEditor::_gain_adjustment
private

Definition at line 82 of file audio_region_editor.h.

◆ _gain_entry

Gtk::SpinButton AudioRegionEditor::_gain_entry
private

Definition at line 83 of file audio_region_editor.h.

◆ _gain_label

Gtk::Label AudioRegionEditor::_gain_label
private

Definition at line 81 of file audio_region_editor.h.

◆ _peak_amplitude

Gtk::Entry AudioRegionEditor::_peak_amplitude
private

Definition at line 91 of file audio_region_editor.h.

◆ _peak_amplitude_connection

PBD::ScopedConnection AudioRegionEditor::_peak_amplitude_connection
private

Definition at line 105 of file audio_region_editor.h.

◆ _peak_amplitude_label

Gtk::Label AudioRegionEditor::_peak_amplitude_label
private

Definition at line 90 of file audio_region_editor.h.

◆ _peak_amplitude_thread_handle

pthread_t AudioRegionEditor::_peak_amplitude_thread_handle
private

Definition at line 104 of file audio_region_editor.h.

◆ _peak_channel

CrossThreadChannel AudioRegionEditor::_peak_channel
private

Definition at line 106 of file audio_region_editor.h.

◆ _polarity_label

Gtk::Label AudioRegionEditor::_polarity_label
private

Definition at line 85 of file audio_region_editor.h.

◆ _polarity_toggle

Gtk::CheckButton AudioRegionEditor::_polarity_toggle
private

Definition at line 86 of file audio_region_editor.h.

◆ _region_line

ArdourWidgets::ArdourDropdown AudioRegionEditor::_region_line
private

Definition at line 94 of file audio_region_editor.h.

◆ _region_line_label

Gtk::Label AudioRegionEditor::_region_line_label
private

Definition at line 93 of file audio_region_editor.h.

◆ _show_on_touch

Gtk::CheckButton AudioRegionEditor::_show_on_touch
private

Definition at line 96 of file audio_region_editor.h.

◆ PeakAmplitudeFound

PBD::Signal<void (double)> AudioRegionEditor::PeakAmplitudeFound
private

Definition at line 102 of file audio_region_editor.h.


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