ardour
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
AudioRegionView Class Reference

#include <audio_region_view.h>

Inheritance diagram for AudioRegionView:
RegionView TimeAxisViewItem Selectable PBD::ScopedConnectionList TapeAudioRegionView

Public Member Functions

 AudioRegionView (ArdourCanvas::Container *, RouteTimeAxisView &, boost::shared_ptr< ARDOUR::AudioRegion >, double initial_samples_per_pixel, uint32_t base_color)
 
 AudioRegionView (ArdourCanvas::Container *, RouteTimeAxisView &, boost::shared_ptr< ARDOUR::AudioRegion >, double samples_per_pixel, uint32_t base_color, bool recording, TimeAxisViewItem::Visibility)
 
 AudioRegionView (const AudioRegionView &other, boost::shared_ptr< ARDOUR::AudioRegion >)
 
 ~AudioRegionView ()
 
void init (bool wait_for_data)
 
boost::shared_ptr
< ARDOUR::AudioRegion
audio_region () const
 
void create_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 update_envelope_visibility ()
 
void add_gain_point_event (ArdourCanvas::Item *item, GdkEvent *event, bool with_guard_points)
 
void remove_gain_point_event (ArdourCanvas::Item *item, GdkEvent *event)
 
boost::shared_ptr
< AudioRegionGainLine
get_gain_line () const
 
void region_changed (const PBD::PropertyChange &)
 
void envelope_active_changed ()
 
GhostRegionadd_ghost (TimeAxisView &)
 
void reset_fade_in_shape_width (boost::shared_ptr< ARDOUR::AudioRegion > ar, framecnt_t, bool drag_active=false)
 
void reset_fade_out_shape_width (boost::shared_ptr< ARDOUR::AudioRegion > ar, framecnt_t, bool drag_active=false)
 
framepos_t get_fade_in_shape_width ()
 
framepos_t get_fade_out_shape_width ()
 
void set_fade_visibility (bool)
 
void update_coverage_frames (LayerDisplay)
 
void update_transient (float old_pos, float new_pos)
 
void remove_transient (float pos)
 
void show_region_editor ()
 
virtual void entered ()
 
virtual void exited ()
 
void thaw_after_trim ()
 
void drag_start ()
 
void drag_end ()
 
void redraw_start_xfade_to (boost::shared_ptr< ARDOUR::AudioRegion >, framecnt_t, ArdourCanvas::Points &, double, double)
 
void redraw_end_xfade_to (boost::shared_ptr< ARDOUR::AudioRegion >, framecnt_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
 
- Public Member Functions inherited from RegionView
 RegionView (ArdourCanvas::Container *parent, TimeAxisView &time_view, boost::shared_ptr< ARDOUR::Region > region, double samples_per_pixel, uint32_t base_color, bool automation=false)
 
 RegionView (const RegionView &other)
 
 RegionView (const RegionView &other, boost::shared_ptr< ARDOUR::Region > other_region)
 
 ~RegionView ()
 
boost::shared_ptr< ARDOUR::Regionregion () const
 
bool is_valid () const
 
void set_valid (bool yn)
 
virtual bool set_duration (framecnt_t, void *)
 
void move (double xdelta, double ydelta)
 
void raise_to_top ()
 
void lower_to_bottom ()
 
bool set_position (framepos_t pos, void *src, double *delta=0)
 
void hide_region_editor ()
 
uint32_t get_fill_color () const
 
void remove_ghost_in (TimeAxisView &)
 
void remove_ghost (GhostRegion *)
 
virtual void enable_display (bool yn)
 
virtual void trim_front_starting ()
 
bool trim_front (framepos_t, bool)
 
virtual void trim_front_ending ()
 
bool trim_end (framepos_t, bool)
 
void move_contents (ARDOUR::frameoffset_t)
 
void set_silent_frames (const ARDOUR::AudioIntervalResult &, double threshold)
 
void drop_silent_frames ()
 
void hide_silent_frames ()
 
ARDOUR::frameoffset_t snap_frame_to_frame (ARDOUR::frameoffset_t) const
 
- Public Member Functions inherited from TimeAxisViewItem
virtual ~TimeAxisViewItem ()
 
framepos_t get_position () const
 
framecnt_t get_duration () const
 
virtual void set_max_duration (framecnt_t, void *)
 
framecnt_t get_max_duration () const
 
virtual void set_min_duration (framecnt_t, void *)
 
framecnt_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
 
virtual void set_selected (bool yn)
 
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::Item * get_canvas_frame ()
 
ArdourCanvas::Item * get_canvas_group ()
 
ArdourCanvas::Item * get_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 ()
 
bool get_selected () const
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

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 reset_width_dependent_items (double pixel_width)
 
void set_frame_color ()
 
void color_handler ()
 
void transients_changed ()
 
AutomationLine::VisibleAspects automation_line_visibility () const
 
- Protected Member Functions inherited from RegionView
 RegionView (ArdourCanvas::Container *, TimeAxisView &, boost::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 ()
 
- Protected Member Functions inherited from TimeAxisViewItem
 TimeAxisViewItem (const std::string &, ArdourCanvas::Item &, TimeAxisView &, double, uint32_t fill_color, framepos_t, framecnt_t, bool recording=false, bool automation=false, Visibility v=Visibility(0))
 
 TimeAxisViewItem (const TimeAxisViewItem &)
 
void init (ArdourCanvas::Item *, double, uint32_t, framepos_t, framepos_t, Visibility, bool, bool)
 
virtual void set_frame_gradient ()
 
void set_trim_handle_colors ()
 
bool frame_handle_crossing (GdkEvent *, ArdourCanvas::Rectangle *)
 

Protected Attributes

std::vector
< ArdourCanvas::WaveView * > 
waves
 
std::vector
< ArdourCanvas::WaveView * > 
tmp_waves
 see ::create_waves() More...
 
std::list< std::pair
< framepos_t,
ArdourCanvas::Line * > > 
feature_lines
 
ArdourCanvas::Polygon * sync_mark
 polgyon for sync position More...
 
ArdourCanvas::Rectangle * fade_in_handle
 fade in handle, or 0 More...
 
ArdourCanvas::Rectangle * fade_out_handle
 fade out handle, or 0 More...
 
ArdourCanvas::Rectangle * fade_in_trim_handle
 fade in trim handle, or 0 More...
 
ArdourCanvas::Rectangle * fade_out_trim_handle
 fade out trim handle, or 0 More...
 
ArdourCanvas::XFadeCurve * start_xfade_curve
 
ArdourCanvas::Rectangle * start_xfade_rect
 
bool _start_xfade_visible
 
ArdourCanvas::XFadeCurve * end_xfade_curve
 
ArdourCanvas::Rectangle * end_xfade_rect
 
bool _end_xfade_visible
 
boost::shared_ptr
< AudioRegionGainLine
gain_line
 
double _amplitude_above_axis
 
- Protected Attributes inherited from RegionView
boost::shared_ptr< ARDOUR::Region_region
 
ArdourCanvas::Polygon * sync_mark
 polgyon for sync position More...
 
ArdourCanvas::Line * sync_line
 polgyon for sync position More...
 
RegionEditoreditor
 
std::vector< ControlPoint * > control_points
 
double current_visible_sync_position
 
bool valid
 see StreamView::redisplay_diskstream() More...
 
bool _enable_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_frames
 
std::list
< ArdourCanvas::Rectangle * > 
_silent_frames
 
std::list
< ArdourCanvas::Rectangle * > 
_silent_threshold_frames
 
ArdourCanvas::Text * _silence_text
 
- Protected Attributes inherited from TimeAxisViewItem
TimeAxisViewtrackview
 
bool position_locked
 
framepos_t frame_position
 
framecnt_t item_duration
 
framecnt_t max_item_duration
 
framecnt_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
 
bool show_vestigial
 
uint32_t fill_color
 
uint32_t last_item_width
 
int name_text_width
 
bool wide_enough_for_name
 
bool high_enough_for_name
 
ArdourCanvas::Container * group
 
ArdourCanvas::Rectangle * vestigial_frame
 
ArdourCanvas::Rectangle * frame
 
ArdourCanvas::Rectangle * selection_frame
 
ArdourCanvas::Text * name_text
 
ArdourCanvas::Rectangle * name_highlight
 
ArdourCanvas::Rectangle * frame_handle_start
 `frame' (fade) handle for the start of the item, or 0 More...
 
ArdourCanvas::Rectangle * frame_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
 
- Protected Attributes inherited from Selectable
bool _selected
 

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< ArdourCanvas::WaveView * > &waves_to_color)
 

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
 

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 ()
 
- Public Attributes inherited from TimeAxisViewItem
sigc::signal< void,
std::string, void * > 
ItemRemoved
 
sigc::signal< void,
std::string, std::string, void * > 
NameChanged
 
sigc::signal< void, framepos_t,
void * > 
PositionChanged
 
sigc::signal< void, bool, void * > PositionLockChanged
 
sigc::signal< void, framecnt_t,
void * > 
DurationChanged
 
sigc::signal< void, framecnt_t,
void * > 
MaxDurationChanged
 
sigc::signal< void, framecnt_t,
void * > 
MinDurationChanged
 
- Static Public Attributes inherited from RegionView
static PBD::Signal1< void,
RegionView * > 
RegionViewGoingAway
 
- Static Public Attributes inherited from TimeAxisViewItem
static Pango::FontDescription NAME_FONT
 
static const double NAME_X_OFFSET = 15.0
 
static const double GRAB_HANDLE_TOP = 0.0
 
static const double GRAB_HANDLE_WIDTH = 10.0
 
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 51 of file audio_region_view.h.

Member Enumeration Documentation

enum AudioRegionView::Flags
protected
Enumerator
WaveformVisible 
WaveformRectified 
WaveformLogScaled 

Definition at line 147 of file audio_region_view.h.

Constructor & Destructor Documentation

AudioRegionView::AudioRegionView ( ArdourCanvas::Container *  parent,
RouteTimeAxisView tv,
boost::shared_ptr< ARDOUR::AudioRegion r,
double  initial_samples_per_pixel,
uint32_t  base_color 
)

Definition at line 77 of file audio_region_view.cc.

AudioRegionView::AudioRegionView ( ArdourCanvas::Container *  parent,
RouteTimeAxisView tv,
boost::shared_ptr< ARDOUR::AudioRegion r,
double  samples_per_pixel,
uint32_t  base_color,
bool  recording,
TimeAxisViewItem::Visibility  visibility 
)

Definition at line 98 of file audio_region_view.cc.

AudioRegionView::AudioRegionView ( const AudioRegionView other,
boost::shared_ptr< ARDOUR::AudioRegion other_region 
)

Definition at line 119 of file audio_region_view.cc.

AudioRegionView::~AudioRegionView ( )

Definition at line 245 of file audio_region_view.cc.

Member Function Documentation

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

Definition at line 1207 of file audio_region_view.cc.

GhostRegion * AudioRegionView::add_ghost ( TimeAxisView tv)
virtual

Implements RegionView.

Definition at line 1267 of file audio_region_view.cc.

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

Definition at line 263 of file audio_region_view.cc.

AutomationLine::VisibleAspects AudioRegionView::automation_line_visibility ( ) const
protected
void AudioRegionView::color_handler ( )
protectedvirtual

Reimplemented from RegionView.

Definition at line 1376 of file audio_region_view.cc.

void AudioRegionView::create_one_wave ( uint32_t  which,
bool   
)
protected

Definition at line 1118 of file audio_region_view.cc.

void AudioRegionView::create_waves ( )

Definition at line 1062 of file audio_region_view.cc.

void AudioRegionView::drag_end ( )
virtual

Reimplemented from TimeAxisViewItem.

Definition at line 1606 of file audio_region_view.cc.

void AudioRegionView::drag_start ( )
virtual

Reimplemented from TimeAxisViewItem.

Definition at line 1598 of file audio_region_view.cc.

bool AudioRegionView::end_xfade_visible ( ) const
inline

Definition at line 136 of file audio_region_view.h.

void AudioRegionView::entered ( )
virtual

Reimplemented from RegionView.

Definition at line 1303 of file audio_region_view.cc.

void AudioRegionView::envelope_active_changed ( )

Definition at line 1365 of file audio_region_view.cc.

void AudioRegionView::exited ( )
virtual

Reimplemented from RegionView.

Definition at line 1347 of file audio_region_view.cc.

void AudioRegionView::fade_in_active_changed ( )
protected

Definition at line 312 of file audio_region_view.cc.

void AudioRegionView::fade_in_changed ( )
protected

Definition at line 300 of file audio_region_view.cc.

void AudioRegionView::fade_out_active_changed ( )
protected

Definition at line 325 of file audio_region_view.cc.

void AudioRegionView::fade_out_changed ( )
protected

Definition at line 306 of file audio_region_view.cc.

framepos_t AudioRegionView::get_fade_in_shape_width ( )

Definition at line 704 of file audio_region_view.cc.

framepos_t AudioRegionView::get_fade_out_shape_width ( )

Definition at line 710 of file audio_region_view.cc.

boost::shared_ptr<AudioRegionGainLine> AudioRegionView::get_gain_line ( ) const
inline

Definition at line 91 of file audio_region_view.h.

void AudioRegionView::hide_end_xfade ( )

Definition at line 918 of file audio_region_view.cc.

void AudioRegionView::hide_start_xfade ( )

Definition at line 905 of file audio_region_view.cc.

void AudioRegionView::hide_xfades ( )

Definition at line 898 of file audio_region_view.cc.

void AudioRegionView::init ( bool  wait_for_data)
virtual

Reimplemented from RegionView.

Reimplemented in TapeAudioRegionView.

Definition at line 141 of file audio_region_view.cc.

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

Definition at line 1621 of file audio_region_view.cc.

void AudioRegionView::peaks_ready_handler ( uint32_t  which)
protected

Definition at line 1200 of file audio_region_view.cc.

void AudioRegionView::redraw_end_xfade ( )

Definition at line 805 of file audio_region_view.cc.

void AudioRegionView::redraw_end_xfade_to ( boost::shared_ptr< ARDOUR::AudioRegion ,
framecnt_t  ,
ArdourCanvas::Points &  ,
double  ,
double  ,
double   
)

Definition at line 819 of file audio_region_view.cc.

void AudioRegionView::redraw_start_xfade ( )

Definition at line 717 of file audio_region_view.cc.

void AudioRegionView::redraw_start_xfade_to ( boost::shared_ptr< ARDOUR::AudioRegion ,
framecnt_t  ,
ArdourCanvas::Points &  ,
double  ,
double   
)

Definition at line 730 of file audio_region_view.cc.

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

Reimplemented from RegionView.

Definition at line 270 of file audio_region_view.cc.

void AudioRegionView::region_muted ( )
protectedvirtual

Reimplemented from RegionView.

Definition at line 440 of file audio_region_view.cc.

void AudioRegionView::region_renamed ( )
protectedvirtual

Reimplemented from RegionView.

Definition at line 347 of file audio_region_view.cc.

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

Reimplemented from RegionView.

Definition at line 364 of file audio_region_view.cc.

void AudioRegionView::region_scale_amplitude_changed ( )
protected

Definition at line 339 of file audio_region_view.cc.

void AudioRegionView::remove_gain_point_event ( ArdourCanvas::Item *  item,
GdkEvent *  event 
)

Definition at line 1260 of file audio_region_view.cc.

void AudioRegionView::remove_transient ( float  pos)

Definition at line 1564 of file audio_region_view.cc.

void AudioRegionView::reset_fade_in_shape ( )
protected

Definition at line 539 of file audio_region_view.cc.

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

Definition at line 545 of file audio_region_view.cc.

void AudioRegionView::reset_fade_out_shape ( )
protected

Definition at line 618 of file audio_region_view.cc.

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

Definition at line 624 of file audio_region_view.cc.

void AudioRegionView::reset_fade_shapes ( )
protected

Definition at line 532 of file audio_region_view.cc.

void AudioRegionView::reset_width_dependent_items ( double  pixel_width)
protectedvirtual

Reimplemented from RegionView.

Definition at line 404 of file audio_region_view.cc.

void AudioRegionView::set_amplitude_above_axis ( gdouble  spp)

Definition at line 975 of file audio_region_view.cc.

void AudioRegionView::set_colors ( )
protectedvirtual

Convenience method to set the various canvas item colors

Reimplemented from RegionView.

Definition at line 983 of file audio_region_view.cc.

void AudioRegionView::set_fade_visibility ( bool  yn)

Definition at line 1450 of file audio_region_view.cc.

void AudioRegionView::set_frame_color ( )
protectedvirtual

Sets the frame color depending on whether this item is selected

Reimplemented from TimeAxisViewItem.

Definition at line 1438 of file audio_region_view.cc.

void AudioRegionView::set_height ( double  height)
virtual

Set the height of this item.

Parameters
hnew height

Reimplemented from RegionView.

Definition at line 474 of file audio_region_view.cc.

void AudioRegionView::set_samples_per_pixel ( double  fpp)
virtual

Set the frames per pixel of this item. This item is used to determine the relative visual size and position of this item based upon its duration and start value.

Parameters
fppthe new frames per pixel

Reimplemented from RegionView.

Definition at line 957 of file audio_region_view.cc.

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

Definition at line 1397 of file audio_region_view.cc.

void AudioRegionView::set_waveform_colors ( )
protected

Definition at line 1391 of file audio_region_view.cc.

void AudioRegionView::setup_fade_handle_positions ( )
private

Definition at line 447 of file audio_region_view.cc.

void AudioRegionView::setup_waveform_visibility ( )
private

Definition at line 1013 of file audio_region_view.cc.

void AudioRegionView::show_end_xfade ( )

Definition at line 944 of file audio_region_view.cc.

void AudioRegionView::show_region_editor ( )
virtual

Reimplemented from RegionView.

Definition at line 1483 of file audio_region_view.cc.

void AudioRegionView::show_start_xfade ( )

Definition at line 931 of file audio_region_view.cc.

void AudioRegionView::show_xfades ( )

Definition at line 1591 of file audio_region_view.cc.

bool AudioRegionView::start_xfade_visible ( ) const
inline

Definition at line 132 of file audio_region_view.h.

void AudioRegionView::temporarily_hide_envelope ( )

Dangerous!

Definition at line 1032 of file audio_region_view.cc.

void AudioRegionView::thaw_after_trim ( )
virtual

Reimplemented from RegionView.

Definition at line 1582 of file audio_region_view.cc.

void AudioRegionView::transients_changed ( )
protected

Definition at line 1494 of file audio_region_view.cc.

void AudioRegionView::unhide_envelope ( )

Dangerous!

Definition at line 1040 of file audio_region_view.cc.

void AudioRegionView::update_coverage_frames ( LayerDisplay  d)
virtual

Remove old coverage frames and make new ones, if we're in a LayerDisplay mode which uses them.

Reimplemented from RegionView.

Definition at line 1472 of file audio_region_view.cc.

void AudioRegionView::update_envelope_visibility ( )

Definition at line 1046 of file audio_region_view.cc.

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

Definition at line 1540 of file audio_region_view.cc.

Member Data Documentation

double AudioRegionView::_amplitude_above_axis
protected

Definition at line 174 of file audio_region_view.h.

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 213 of file audio_region_view.h.

bool AudioRegionView::_end_xfade_visible
protected

Definition at line 170 of file audio_region_view.h.

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 218 of file audio_region_view.h.

bool AudioRegionView::_start_xfade_visible
protected

Definition at line 166 of file audio_region_view.h.

ArdourCanvas::XFadeCurve* AudioRegionView::end_xfade_curve
protected

Definition at line 168 of file audio_region_view.h.

ArdourCanvas::Rectangle* AudioRegionView::end_xfade_rect
protected

Definition at line 169 of file audio_region_view.h.

ArdourCanvas::Rectangle* AudioRegionView::fade_in_handle
protected

fade in handle, or 0

Definition at line 159 of file audio_region_view.h.

ArdourCanvas::Rectangle* AudioRegionView::fade_in_trim_handle
protected

fade in trim handle, or 0

Definition at line 161 of file audio_region_view.h.

ArdourCanvas::Rectangle* AudioRegionView::fade_out_handle
protected

fade out handle, or 0

Definition at line 160 of file audio_region_view.h.

ArdourCanvas::Rectangle* AudioRegionView::fade_out_trim_handle
protected

fade out trim handle, or 0

Definition at line 162 of file audio_region_view.h.

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

Definition at line 156 of file audio_region_view.h.

boost::shared_ptr<AudioRegionGainLine> AudioRegionView::gain_line
protected

Definition at line 172 of file audio_region_view.h.

ArdourCanvas::XFadeCurve* AudioRegionView::start_xfade_curve
protected

Definition at line 164 of file audio_region_view.h.

ArdourCanvas::Rectangle* AudioRegionView::start_xfade_rect
protected

Definition at line 165 of file audio_region_view.h.

ArdourCanvas::Polygon* AudioRegionView::sync_mark
protected

polgyon for sync position

Definition at line 158 of file audio_region_view.h.

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

see ::create_waves()

Definition at line 154 of file audio_region_view.h.

bool AudioRegionView::trim_fade_in_drag_active
private

Definition at line 220 of file audio_region_view.h.

bool AudioRegionView::trim_fade_out_drag_active
private

Definition at line 221 of file audio_region_view.h.

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

Definition at line 153 of file audio_region_view.h.


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