Ardour  9.0-pre0-582-g084a23a80d
AudioRegionView Class Reference

#include <audio_region_view.h>

Inheritance diagram for AudioRegionView:
[legend]

Public Member Functions

 AudioRegionView (ArdourCanvas::Container *, RouteTimeAxisView &, std::shared_ptr< ARDOUR::AudioRegion >, double initial_samples_per_pixel, uint32_t base_color)
 
 AudioRegionView (ArdourCanvas::Container *, RouteTimeAxisView &, std::shared_ptr< ARDOUR::AudioRegion >, double samples_per_pixel, uint32_t base_color, bool recording, TimeAxisViewItem::Visibility)
 
 AudioRegionView (const AudioRegionView &other, std::shared_ptr< ARDOUR::AudioRegion >)
 
 ~AudioRegionView ()
 
void init (bool wait_for_data)
 
std::shared_ptr< ARDOUR::AudioRegionaudio_region () const
 
void create_waves ()
 
void delete_waves ()
 
void set_height (double)
 
void set_samples_per_pixel (double)
 
void set_amplitude_above_axis (gdouble spp)
 
void temporarily_hide_envelope ()
 Dangerous! More...
 
void unhide_envelope ()
 Dangerous! More...
 
void set_region_gain_line ()
 
void set_ignore_line_change (bool v)
 
bool set_region_fx_line (uint32_t, uint32_t)
 
bool set_region_fx_line (std::weak_ptr< PBD::Controllable >)
 
bool get_region_fx_line (PBD::ID &, uint32_t &)
 
void update_envelope_visibility ()
 
bool paste (Temporal::timepos_t const &, const Selection &, PasteContext &)
 
void add_gain_point_event (ArdourCanvas::Item *item, GdkEvent *event, bool with_guard_points)
 
std::shared_ptr< RegionFxLinefx_line () const
 
void region_changed (const PBD::PropertyChange &)
 
void envelope_active_changed ()
 
GhostRegionadd_ghost (TimeAxisView &)
 
void reset_fade_in_shape_width (std::shared_ptr< ARDOUR::AudioRegion > ar, samplecnt_t, bool drag_active=false)
 
void reset_fade_out_shape_width (std::shared_ptr< ARDOUR::AudioRegion > ar, samplecnt_t, bool drag_active=false)
 
samplepos_t get_fade_in_shape_width ()
 
samplepos_t get_fade_out_shape_width ()
 
void set_fade_visibility (bool)
 
void update_coverage_frame (LayerDisplay)
 
void update_transient (float old_pos, float new_pos)
 
void remove_transient (float pos)
 
void set_frame_color ()
 
uint32_t get_fill_color () const
 
virtual void entered ()
 
virtual void exited ()
 
void thaw_after_trim ()
 
void drag_start ()
 
void drag_end ()
 
void redraw_start_xfade_to (std::shared_ptr< ARDOUR::AudioRegion >, samplecnt_t, ArdourCanvas::Points &, double, double)
 
void redraw_end_xfade_to (std::shared_ptr< ARDOUR::AudioRegion >, samplecnt_t, ArdourCanvas::Points &, double, double, double)
 
void redraw_start_xfade ()
 
void redraw_end_xfade ()
 
void hide_xfades ()
 
void hide_start_xfade ()
 
void hide_end_xfade ()
 
void show_xfades ()
 
void show_start_xfade ()
 
void show_end_xfade ()
 
bool start_xfade_visible () const
 
bool end_xfade_visible () const
 
MergeableLinemake_merger ()
 
- Public Member Functions inherited from RegionView
 RegionView (ArdourCanvas::Container *parent, TimeAxisView &time_view, const std::shared_ptr< ARDOUR::Region > &region, double samples_per_pixel, uint32_t base_color, bool automation=false)
 
 RegionView (const RegionView &other)
 
 RegionView (const RegionView &other, const std::shared_ptr< ARDOUR::Region > &other_region)
 
 ~RegionView ()
 
virtual void set_selected (bool yn)
 
std::shared_ptr< ARDOUR::Regionregion () const
 
bool is_valid () const
 
void set_valid (bool yn)
 
virtual bool set_duration (Temporal::timecnt_t const &, void *)
 
void move (double xdelta, double ydelta)
 
void visual_layer_on_top ()
 
void raise_to_top ()
 
void lower_to_bottom ()
 
bool set_position (Temporal::timepos_t const &pos, void *src, double *delta=0)
 
void show_region_editor ()
 
void hide_region_editor ()
 
void remove_ghost_in (TimeAxisView &)
 
void remove_ghost (GhostRegion *)
 
bool display_enabled () const
 
void redisplay ()
 
virtual void tempo_map_changed ()
 
virtual void trim_front_starting ()
 
bool trim_front (Temporal::timepos_t const &, bool)
 
virtual void trim_front_ending ()
 
bool trim_end (Temporal::timepos_t const &, bool)
 
void move_contents (Temporal::timecnt_t const &)
 
void set_silent_frames (const ARDOUR::AudioIntervalResult &, double threshold)
 
void drop_silent_frames ()
 
void hide_silent_frames ()
 
Temporal::timecnt_t snap_region_time_to_region_time (Temporal::timecnt_t const &, bool ensure_snap=false) const
 
void update_visibility ()
 
ARDOUR::CueMarker find_model_cue_marker (ArdourMarker *)
 
void drop_cue_marker (ArdourMarker *)
 
- Public Member Functions inherited from TimeAxisViewItem
virtual ~TimeAxisViewItem ()
 
Temporal::timepos_t get_position () const
 
Temporal::timecnt_t get_duration () const
 
virtual void set_max_duration (Temporal::timecnt_t const &, void *)
 
Temporal::timecnt_t get_max_duration () const
 
virtual void set_min_duration (Temporal::timecnt_t const &, void *)
 
Temporal::timecnt_t get_min_duration () const
 
virtual void set_position_locked (bool, void *)
 
bool get_position_locked () const
 
void set_max_duration_active (bool, void *)
 
bool get_max_duration_active () const
 
void set_min_duration_active (bool, void *)
 
bool get_min_duration_active () const
 
void set_item_name (std::string, void *)
 
virtual std::string get_item_name () const
 
void set_sensitive (bool yn)
 
bool sensitive () const
 
TimeAxisViewget_time_axis_view () const
 
void set_name_text (const std::string &)
 
virtual double height () const
 
void set_y (double)
 
void set_color (uint32_t)
 
void set_name_text_color ()
 
ArdourCanvas::Itemget_canvas_frame ()
 
ArdourCanvas::Itemget_canvas_group () const
 
ArdourCanvas::Itemget_name_highlight ()
 
double get_samples_per_pixel () const
 
bool dragging () const
 
virtual void raise ()
 
virtual void lower ()
 
bool name_active () const
 
- Public Member Functions inherited from Selectable
 Selectable ()
 
virtual ~Selectable ()
 
virtual bool selected () const
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- Public Member Functions inherited from LineMerger
virtual ~LineMerger ()
 

Public Attributes

sigc::signal< void > region_line_changed
 
- Public Attributes inherited from TimeAxisViewItem
sigc::signal< void, std::string, void * > ItemRemoved
 

Protected Types

enum  Flags { WaveformVisible = 0x4 , WaveformRectified = 0x8 , WaveformLogScaled = 0x10 }
 

Protected Member Functions

void reset_fade_shapes ()
 
void reset_fade_in_shape ()
 
void reset_fade_out_shape ()
 
void fade_in_changed ()
 
void fade_out_changed ()
 
void fade_in_active_changed ()
 
void fade_out_active_changed ()
 
void region_resized (const PBD::PropertyChange &)
 
void region_muted ()
 
void region_scale_amplitude_changed ()
 
void region_renamed ()
 
void create_one_wave (uint32_t, bool)
 
void peaks_ready_handler (uint32_t)
 
void set_colors ()
 
void set_waveform_colors ()
 
void set_fx_line_colors ()
 
void reset_width_dependent_items (double pixel_width)
 
void color_handler ()
 
void transients_changed ()
 
EditorAutomationLine::VisibleAspects automation_line_visibility () const
 
void redisplay (bool)
 
- Protected Member Functions inherited from RegionView
 RegionView (ArdourCanvas::Container *, TimeAxisView &, const std::shared_ptr< ARDOUR::Region > &, double samples_per_pixel, uint32_t basic_color, bool recording, TimeAxisViewItem::Visibility)
 
bool canvas_group_event (GdkEvent *)
 
void region_locked ()
 
void region_opacity ()
 
void region_sync_changed ()
 
std::string make_name () const
 
void lock_toggle ()
 
virtual void set_sync_mark_color ()
 
void maybe_raise_cue_markers ()
 
Temporal::timecnt_t region_relative_distance (Temporal::timecnt_t const &, Temporal::TimeDomain desired_time_domain)
 
- Protected Member Functions inherited from TimeAxisViewItem
 TimeAxisViewItem (const std::string &, ArdourCanvas::Item &, TimeAxisView &, double, uint32_t fill_color, Temporal::timepos_t const &, Temporal::timecnt_t const &, bool recording=false, bool automation=false, Visibility v=Visibility(0))
 
 TimeAxisViewItem (const TimeAxisViewItem &)
 
void init (ArdourCanvas::Item *, double, uint32_t, Temporal::timepos_t const &, Temporal::timecnt_t const &, Visibility, bool, bool)
 
virtual void set_frame_gradient ()
 
void set_trim_handle_colors ()
 
bool frame_handle_crossing (GdkEvent *, ArdourCanvas::Rectangle *)
 
void manage_name_text ()
 

Protected Attributes

std::vector< ArdourWaveView::WaveView * > waves
 
std::vector< ArdourWaveView::WaveView * > tmp_waves
 see create_waves() More...
 
std::list< std::pair< samplepos_t, ArdourCanvas::Line * > > feature_lines
 
ArdourCanvas::Rectanglefade_in_handle
 fade in handle, or 0 More...
 
ArdourCanvas::Rectanglefade_out_handle
 fade out handle, or 0 More...
 
ArdourCanvas::Rectanglefade_in_trim_handle
 fade in trim handle, or 0 More...
 
ArdourCanvas::Rectanglefade_out_trim_handle
 fade out trim handle, or 0 More...
 
ArdourCanvas::Rectanglepending_peak_data
 
ArdourCanvas::XFadeCurvestart_xfade_curve
 
ArdourCanvas::Rectanglestart_xfade_rect
 
bool _start_xfade_visible
 
ArdourCanvas::XFadeCurveend_xfade_curve
 
ArdourCanvas::Rectangleend_xfade_rect
 
bool _end_xfade_visible
 
std::shared_ptr< RegionFxLine_fx_line
 
double _amplitude_above_axis
 
- Protected Attributes inherited from RegionView
std::shared_ptr< ARDOUR::Region_region
 
ArdourCanvas::Polygonsync_mark
 polygon for sync position More...
 
ArdourCanvas::Linesync_line
 polygon for sync position More...
 
ArdourWindow_editor
 
std::vector< ControlPoint * > control_points
 
double current_visible_sync_position
 
bool valid
 see StreamView::redisplay_diskstream() More...
 
uint32_t _disable_display
 see StreamView::redisplay_diskstream() More...
 
double _pixel_width
 
bool in_destructor
 
bool wait_for_data
 
std::vector< GhostRegion * > ghosts
 
std::list< ArdourCanvas::Rectangle * > _coverage_frame
 
std::list< ArdourCanvas::Rectangle * > _silent_frames
 
std::list< ArdourCanvas::Rectangle * > _silent_threshold_samples
 
ArdourCanvas::Text_silence_text
 
- Protected Attributes inherited from TimeAxisViewItem
TimeAxisViewtrackview
 
bool position_locked
 
Temporal::timepos_t time_position
 
Temporal::timecnt_t item_duration
 
Temporal::timecnt_t max_item_duration
 
Temporal::timecnt_t min_item_duration
 
bool max_duration_active
 
bool min_duration_active
 
double samples_per_pixel
 
bool _sensitive
 
std::string item_name
 
bool name_connected
 
uint32_t fill_color
 
uint32_t last_item_width
 
int name_text_width
 
bool wide_enough_for_name
 
bool high_enough_for_name
 
ArdourCanvas::Containergroup
 
ArdourCanvas::Rectangleframe
 
ArdourCanvas::Rectangleselection_frame
 
ArdourCanvas::Textname_text
 
ArdourCanvas::Rectanglename_highlight
 
ArdourCanvas::Rectangleframe_handle_start
 ‘frame’ (fade) handle for the start of the item, or 0 More...
 
ArdourCanvas::Rectangleframe_handle_end
 ‘frame’ (fade) handle for the end of the item, or 0 More...
 
double _height
 
Visibility visibility
 
std::string fill_color_name
 
bool _recregion
 
bool _automation
 true if this is an automation region view More...
 
bool _dragging
 
double _width
 
- Protected Attributes inherited from Selectable
bool _selected
 

Static Protected Attributes

static Cairo::RefPtr< Cairo::Pattern > pending_peak_pattern
 

Private Member Functions

void setup_fade_handle_positions ()
 
void parameter_changed (std::string const &)
 
void setup_waveform_visibility ()
 
void set_some_waveform_colors (std::vector< ArdourWaveView::WaveView * > &waves_to_color)
 
void set_region_fx_line (std::shared_ptr< ARDOUR::AutomationControl >, std::shared_ptr< ARDOUR::RegionFxPlugin >, uint32_t)
 

Private Attributes

std::vector< PBD::ScopedConnection * > _data_ready_connections
 
std::pair< std::list< AudioRegionView * >, std::list< AudioRegionView * > > _hidden_xfades
 
bool trim_fade_in_drag_active
 
bool trim_fade_out_drag_active
 
PBD::ID _rfx_id
 
uint32_t _rdx_param
 
bool _ignore_line_change
 
PBD::ScopedConnection _region_fx_connection
 

Additional Inherited Members

- Public Types inherited from TimeAxisViewItem
enum  Visibility {
  ShowFrame = 0x1 , ShowNameHighlight = 0x2 , ShowNameText = 0x4 , ShowHandles = 0x8 ,
  HideFrameLeft = 0x10 , HideFrameRight = 0x20 , HideFrameTB = 0x40 , FullWidthNameHighlight = 0x80
}
 
- Static Public Member Functions inherited from TimeAxisViewItem
static void set_constant_heights ()
 
- Static Public Attributes inherited from RegionView
static PBD::Signal< void(RegionView *)> RegionViewGoingAway
 
- Static Public Attributes inherited from TimeAxisViewItem
static Pango::FontDescription NAME_FONT
 
static const double NAME_X_OFFSET
 
static const double GRAB_HANDLE_TOP
 
static const double GRAB_HANDLE_WIDTH
 
static int NAME_HEIGHT
 
static double NAME_Y_OFFSET
 
static double NAME_HIGHLIGHT_SIZE
 
static double NAME_HIGHLIGHT_THRESH
 
- Static Protected Member Functions inherited from RegionView
static gint _lock_toggle (ArdourCanvas::Item *, GdkEvent *, void *)
 
- Static Protected Member Functions inherited from TimeAxisViewItem
static gint idle_remove_this_item (TimeAxisViewItem *, void *)
 

Detailed Description

Definition at line 58 of file audio_region_view.h.

Member Enumeration Documentation

◆ Flags

enum AudioRegionView::Flags
protected
Enumerator
WaveformVisible 
WaveformRectified 
WaveformLogScaled 

Definition at line 165 of file audio_region_view.h.

Constructor & Destructor Documentation

◆ AudioRegionView() [1/3]

AudioRegionView::AudioRegionView ( ArdourCanvas::Container ,
RouteTimeAxisView ,
std::shared_ptr< ARDOUR::AudioRegion ,
double  initial_samples_per_pixel,
uint32_t  base_color 
)

◆ AudioRegionView() [2/3]

AudioRegionView::AudioRegionView ( ArdourCanvas::Container ,
RouteTimeAxisView ,
std::shared_ptr< ARDOUR::AudioRegion ,
double  samples_per_pixel,
uint32_t  base_color,
bool  recording,
TimeAxisViewItem::Visibility   
)

◆ AudioRegionView() [3/3]

AudioRegionView::AudioRegionView ( const AudioRegionView other,
std::shared_ptr< ARDOUR::AudioRegion  
)

◆ ~AudioRegionView()

AudioRegionView::~AudioRegionView ( )

Member Function Documentation

◆ add_gain_point_event()

void AudioRegionView::add_gain_point_event ( ArdourCanvas::Item item,
GdkEvent event,
bool  with_guard_points 
)

◆ add_ghost()

GhostRegion* AudioRegionView::add_ghost ( TimeAxisView )
virtual

Implements RegionView.

◆ audio_region()

std::shared_ptr<ARDOUR::AudioRegion> AudioRegionView::audio_region ( ) const

◆ automation_line_visibility()

EditorAutomationLine::VisibleAspects AudioRegionView::automation_line_visibility ( ) const
protected

◆ color_handler()

void AudioRegionView::color_handler ( )
protectedvirtual

Reimplemented from RegionView.

◆ create_one_wave()

void AudioRegionView::create_one_wave ( uint32_t  ,
bool   
)
protected

◆ create_waves()

void AudioRegionView::create_waves ( )

◆ delete_waves()

void AudioRegionView::delete_waves ( )

◆ drag_end()

void AudioRegionView::drag_end ( )
virtual

Reimplemented from TimeAxisViewItem.

◆ drag_start()

void AudioRegionView::drag_start ( )
virtual

Reimplemented from TimeAxisViewItem.

◆ end_xfade_visible()

bool AudioRegionView::end_xfade_visible ( ) const
inline

Definition at line 152 of file audio_region_view.h.

◆ entered()

virtual void AudioRegionView::entered ( )
virtual

Reimplemented from RegionView.

◆ envelope_active_changed()

void AudioRegionView::envelope_active_changed ( )

◆ exited()

virtual void AudioRegionView::exited ( )
virtual

Reimplemented from RegionView.

◆ fade_in_active_changed()

void AudioRegionView::fade_in_active_changed ( )
protected

◆ fade_in_changed()

void AudioRegionView::fade_in_changed ( )
protected

◆ fade_out_active_changed()

void AudioRegionView::fade_out_active_changed ( )
protected

◆ fade_out_changed()

void AudioRegionView::fade_out_changed ( )
protected

◆ fx_line()

std::shared_ptr<RegionFxLine> AudioRegionView::fx_line ( ) const
inline

Definition at line 106 of file audio_region_view.h.

◆ get_fade_in_shape_width()

samplepos_t AudioRegionView::get_fade_in_shape_width ( )

◆ get_fade_out_shape_width()

samplepos_t AudioRegionView::get_fade_out_shape_width ( )

◆ get_fill_color()

uint32_t AudioRegionView::get_fill_color ( ) const
virtual

Reimplemented from TimeAxisViewItem.

◆ get_region_fx_line()

bool AudioRegionView::get_region_fx_line ( PBD::ID ,
uint32_t &   
)

◆ hide_end_xfade()

void AudioRegionView::hide_end_xfade ( )

◆ hide_start_xfade()

void AudioRegionView::hide_start_xfade ( )

◆ hide_xfades()

void AudioRegionView::hide_xfades ( )

◆ init()

void AudioRegionView::init ( bool  wait_for_data)
virtual

Reimplemented from RegionView.

◆ make_merger()

MergeableLine* AudioRegionView::make_merger ( )
virtual

Implements LineMerger.

◆ parameter_changed()

void AudioRegionView::parameter_changed ( std::string const &  )
privatevirtual

Reimplemented from RegionView.

◆ paste()

bool AudioRegionView::paste ( Temporal::timepos_t const &  ,
const Selection ,
PasteContext  
)

◆ peaks_ready_handler()

void AudioRegionView::peaks_ready_handler ( uint32_t  )
protected

◆ redisplay()

void AudioRegionView::redisplay ( bool  )
inlineprotectedvirtual

Implements RegionView.

Definition at line 222 of file audio_region_view.h.

◆ redraw_end_xfade()

void AudioRegionView::redraw_end_xfade ( )

◆ redraw_end_xfade_to()

void AudioRegionView::redraw_end_xfade_to ( std::shared_ptr< ARDOUR::AudioRegion ,
samplecnt_t  ,
ArdourCanvas::Points ,
double  ,
double  ,
double   
)

◆ redraw_start_xfade()

void AudioRegionView::redraw_start_xfade ( )

◆ redraw_start_xfade_to()

void AudioRegionView::redraw_start_xfade_to ( std::shared_ptr< ARDOUR::AudioRegion ,
samplecnt_t  ,
ArdourCanvas::Points ,
double  ,
double   
)

◆ region_changed()

void AudioRegionView::region_changed ( const PBD::PropertyChange )
virtual

Reimplemented from RegionView.

◆ region_muted()

void AudioRegionView::region_muted ( )
protectedvirtual

Reimplemented from RegionView.

◆ region_renamed()

void AudioRegionView::region_renamed ( )
protectedvirtual

Reimplemented from RegionView.

◆ region_resized()

void AudioRegionView::region_resized ( const PBD::PropertyChange )
protectedvirtual

Reimplemented from RegionView.

◆ region_scale_amplitude_changed()

void AudioRegionView::region_scale_amplitude_changed ( )
protected

◆ remove_transient()

void AudioRegionView::remove_transient ( float  pos)

◆ reset_fade_in_shape()

void AudioRegionView::reset_fade_in_shape ( )
protected

◆ reset_fade_in_shape_width()

void AudioRegionView::reset_fade_in_shape_width ( std::shared_ptr< ARDOUR::AudioRegion ar,
samplecnt_t  ,
bool  drag_active = false 
)

◆ reset_fade_out_shape()

void AudioRegionView::reset_fade_out_shape ( )
protected

◆ reset_fade_out_shape_width()

void AudioRegionView::reset_fade_out_shape_width ( std::shared_ptr< ARDOUR::AudioRegion ar,
samplecnt_t  ,
bool  drag_active = false 
)

◆ reset_fade_shapes()

void AudioRegionView::reset_fade_shapes ( )
protected

◆ reset_width_dependent_items()

void AudioRegionView::reset_width_dependent_items ( double  pixel_width)
protectedvirtual

Reimplemented from RegionView.

◆ set_amplitude_above_axis()

void AudioRegionView::set_amplitude_above_axis ( gdouble  spp)

◆ set_colors()

void AudioRegionView::set_colors ( )
protectedvirtual

Reimplemented from RegionView.

◆ set_fade_visibility()

void AudioRegionView::set_fade_visibility ( bool  )

◆ set_frame_color()

void AudioRegionView::set_frame_color ( )
virtual

Reimplemented from TimeAxisViewItem.

◆ set_fx_line_colors()

void AudioRegionView::set_fx_line_colors ( )
protected

◆ set_height()

void AudioRegionView::set_height ( double  )
virtual

Reimplemented from RegionView.

◆ set_ignore_line_change()

void AudioRegionView::set_ignore_line_change ( bool  v)
inline

Definition at line 95 of file audio_region_view.h.

◆ set_region_fx_line() [1/3]

void AudioRegionView::set_region_fx_line ( std::shared_ptr< ARDOUR::AutomationControl ,
std::shared_ptr< ARDOUR::RegionFxPlugin ,
uint32_t   
)
private

◆ set_region_fx_line() [2/3]

bool AudioRegionView::set_region_fx_line ( std::weak_ptr< PBD::Controllable )

◆ set_region_fx_line() [3/3]

bool AudioRegionView::set_region_fx_line ( uint32_t  ,
uint32_t   
)

◆ set_region_gain_line()

void AudioRegionView::set_region_gain_line ( )

◆ set_samples_per_pixel()

void AudioRegionView::set_samples_per_pixel ( double  )
virtual

Reimplemented from RegionView.

◆ set_some_waveform_colors()

void AudioRegionView::set_some_waveform_colors ( std::vector< ArdourWaveView::WaveView * > &  waves_to_color)
private

◆ set_waveform_colors()

void AudioRegionView::set_waveform_colors ( )
protected

◆ setup_fade_handle_positions()

void AudioRegionView::setup_fade_handle_positions ( )
private

◆ setup_waveform_visibility()

void AudioRegionView::setup_waveform_visibility ( )
private

◆ show_end_xfade()

void AudioRegionView::show_end_xfade ( )

◆ show_start_xfade()

void AudioRegionView::show_start_xfade ( )

◆ show_xfades()

void AudioRegionView::show_xfades ( )

◆ start_xfade_visible()

bool AudioRegionView::start_xfade_visible ( ) const
inline

Definition at line 148 of file audio_region_view.h.

◆ temporarily_hide_envelope()

void AudioRegionView::temporarily_hide_envelope ( )

Dangerous!

◆ thaw_after_trim()

void AudioRegionView::thaw_after_trim ( )
virtual

Reimplemented from RegionView.

◆ transients_changed()

void AudioRegionView::transients_changed ( )
protected

◆ unhide_envelope()

void AudioRegionView::unhide_envelope ( )

Dangerous!

◆ update_coverage_frame()

void AudioRegionView::update_coverage_frame ( LayerDisplay  )
virtual

Reimplemented from RegionView.

◆ update_envelope_visibility()

void AudioRegionView::update_envelope_visibility ( )

◆ update_transient()

void AudioRegionView::update_transient ( float  old_pos,
float  new_pos 
)

Member Data Documentation

◆ _amplitude_above_axis

double AudioRegionView::_amplitude_above_axis
protected

Definition at line 194 of file audio_region_view.h.

◆ _data_ready_connections

std::vector<PBD::ScopedConnection*> AudioRegionView::_data_ready_connections
private

A ScopedConnection for each PeaksReady callback (one per channel). Each member may be 0 if no connection exists.

Definition at line 234 of file audio_region_view.h.

◆ _end_xfade_visible

bool AudioRegionView::_end_xfade_visible
protected

Definition at line 190 of file audio_region_view.h.

◆ _fx_line

std::shared_ptr<RegionFxLine> AudioRegionView::_fx_line
protected

Definition at line 192 of file audio_region_view.h.

◆ _hidden_xfades

std::pair<std::list<AudioRegionView*>, std::list<AudioRegionView*> > AudioRegionView::_hidden_xfades
private

RegionViews that we hid the xfades for at the start of the current drag; first list is for start xfades, second list is for end xfades.

Definition at line 239 of file audio_region_view.h.

◆ _ignore_line_change

bool AudioRegionView::_ignore_line_change
private

Definition at line 248 of file audio_region_view.h.

◆ _rdx_param

uint32_t AudioRegionView::_rdx_param
private

Definition at line 247 of file audio_region_view.h.

◆ _region_fx_connection

PBD::ScopedConnection AudioRegionView::_region_fx_connection
private

Definition at line 250 of file audio_region_view.h.

◆ _rfx_id

PBD::ID AudioRegionView::_rfx_id
private

Definition at line 246 of file audio_region_view.h.

◆ _start_xfade_visible

bool AudioRegionView::_start_xfade_visible
protected

Definition at line 186 of file audio_region_view.h.

◆ end_xfade_curve

ArdourCanvas::XFadeCurve* AudioRegionView::end_xfade_curve
protected

Definition at line 188 of file audio_region_view.h.

◆ end_xfade_rect

ArdourCanvas::Rectangle* AudioRegionView::end_xfade_rect
protected

Definition at line 189 of file audio_region_view.h.

◆ fade_in_handle

ArdourCanvas::Rectangle* AudioRegionView::fade_in_handle
protected

fade in handle, or 0

Definition at line 176 of file audio_region_view.h.

◆ fade_in_trim_handle

ArdourCanvas::Rectangle* AudioRegionView::fade_in_trim_handle
protected

fade in trim handle, or 0

Definition at line 178 of file audio_region_view.h.

◆ fade_out_handle

ArdourCanvas::Rectangle* AudioRegionView::fade_out_handle
protected

fade out handle, or 0

Definition at line 177 of file audio_region_view.h.

◆ fade_out_trim_handle

ArdourCanvas::Rectangle* AudioRegionView::fade_out_trim_handle
protected

fade out trim handle, or 0

Definition at line 179 of file audio_region_view.h.

◆ feature_lines

std::list<std::pair<samplepos_t, ArdourCanvas::Line*> > AudioRegionView::feature_lines
protected

Definition at line 174 of file audio_region_view.h.

◆ pending_peak_data

ArdourCanvas::Rectangle* AudioRegionView::pending_peak_data
protected

Definition at line 180 of file audio_region_view.h.

◆ pending_peak_pattern

Cairo::RefPtr<Cairo::Pattern> AudioRegionView::pending_peak_pattern
staticprotected

Definition at line 182 of file audio_region_view.h.

◆ region_line_changed

sigc::signal<void> AudioRegionView::region_line_changed

Definition at line 102 of file audio_region_view.h.

◆ start_xfade_curve

ArdourCanvas::XFadeCurve* AudioRegionView::start_xfade_curve
protected

Definition at line 184 of file audio_region_view.h.

◆ start_xfade_rect

ArdourCanvas::Rectangle* AudioRegionView::start_xfade_rect
protected

Definition at line 185 of file audio_region_view.h.

◆ tmp_waves

std::vector<ArdourWaveView::WaveView *> AudioRegionView::tmp_waves
protected

see create_waves()

Definition at line 172 of file audio_region_view.h.

◆ trim_fade_in_drag_active

bool AudioRegionView::trim_fade_in_drag_active
private

Definition at line 241 of file audio_region_view.h.

◆ trim_fade_out_drag_active

bool AudioRegionView::trim_fade_out_drag_active
private

Definition at line 242 of file audio_region_view.h.

◆ waves

std::vector<ArdourWaveView::WaveView *> AudioRegionView::waves
protected

Definition at line 171 of file audio_region_view.h.


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