Ardour  9.0-pre0-582-g084a23a80d
AudioStreamView Class Reference

#include <audio_streamview.h>

Inheritance diagram for AudioStreamView:
[legend]

Public Member Functions

 AudioStreamView (AudioTimeAxisView &)
 
 ~AudioStreamView ()
 
int set_amplitude_above_axis (gdouble app)
 
gdouble get_amplitude_above_axis ()
 
void show_all_fades ()
 
void hide_all_fades ()
 
std::pair< std::list< AudioRegionView * >, std::list< AudioRegionView * > > hide_xfades_with (std::shared_ptr< ARDOUR::AudioRegion > ar)
 
RegionViewcreate_region_view (std::shared_ptr< ARDOUR::Region >, bool, bool)
 
void set_selected_points (PointSelection &)
 
void reload_waves ()
 
void set_layer_display (LayerDisplay)
 
ArdourCanvas::Containerregion_canvas () const
 
- Public Member Functions inherited from StreamView
virtual ~StreamView ()
 
RouteTimeAxisViewtrackview ()
 
const RouteTimeAxisViewtrackview () const
 
void attach ()
 
void set_zoom_all ()
 
int set_position (gdouble x, gdouble y)
 
virtual int set_height (double)
 
virtual int set_samples_per_pixel (double)
 
gdouble get_samples_per_pixel () const
 
virtual bool can_change_layer_display () const
 
LayerDisplay layer_display () const
 
uint32_t get_region_color () const
 
void apply_color (uint32_t, ColorTarget t)
 
void apply_color (Gdk::Color const &, ColorTarget t)
 
uint32_t num_selected_regionviews () const
 
RegionViewfind_view (std::shared_ptr< const ARDOUR::Region >)
 
void foreach_regionview (sigc::slot< void, RegionView * > slot)
 
void foreach_selected_regionview (sigc::slot< void, RegionView * > slot)
 
void set_selected_regionviews (RegionSelection &)
 
void _get_selectables (Temporal::timepos_t const &, Temporal::timepos_t const &, double, double, std::list< Selectable * > &, bool within)
 
void get_inverted_selectables (Selection &, std::list< Selectable * > &results)
 
void get_regionviews_at_or_after (Temporal::timepos_t const &, RegionSelection &)
 
virtual void update_contents_metrics (std::shared_ptr< ARDOUR::Region >)
 
void add_region_view (std::weak_ptr< ARDOUR::Region >)
 
void region_layered (RegionView *)
 
virtual void update_contents_height ()
 
double child_height () const
 
ARDOUR::layer_t layers () const
 
void check_record_layers (std::shared_ptr< ARDOUR::Region >, ARDOUR::samplepos_t)
 
virtual void playlist_layered (std::weak_ptr< ARDOUR::Track >)
 
void update_coverage_frame ()
 
virtual void parameter_changed (std::string 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 ViewBackground
 ViewBackground ()
 
virtual ~ViewBackground ()
 
virtual double height () const
 
virtual double width () const
 
virtual double contents_height () const
 
virtual double y_position () const
 
- Public Member Functions inherited from SelectableOwner
 SelectableOwner ()
 
virtual ~SelectableOwner ()
 
void get_selectables (Temporal::timepos_t const &start, Temporal::timepos_t const &end, double x, double y, std::list< Selectable * > &sl, bool within=false)
 

Private Member Functions

void setup_rec_box ()
 
void rec_peak_range_ready (samplepos_t start, ARDOUR::samplecnt_t cnt, std::weak_ptr< ARDOUR::Source > src)
 
void update_rec_regions (ARDOUR::samplepos_t, ARDOUR::samplecnt_t)
 
RegionViewadd_region_view_internal (std::shared_ptr< ARDOUR::Region >, bool wait_for_waves, bool recording=false)
 
void remove_audio_region_view (std::shared_ptr< ARDOUR::AudioRegion >)
 
void redisplay_track ()
 
void color_handler ()
 

Private Attributes

double _amplitude_above_axis
 
std::map< std::shared_ptr< ARDOUR::Source >, bool > rec_data_ready_map
 
ArdourCanvas::Container_region_group
 
bool outline_region
 

Additional Inherited Members

- Public Types inherited from StreamView
enum  ColorTarget { RegionColor , StreamBaseColor }
 
- Public Attributes inherited from StreamView
sigc::signal< void, RegionView * > RegionViewAdded
 
sigc::signal< void > RegionViewRemoved
 
sigc::signal< void > ContentsHeightChanged
 
- Protected Types inherited from StreamView
typedef std::list< RegionView * > RegionViewList
 
- Protected Member Functions inherited from StreamView
 StreamView (RouteTimeAxisView &, ArdourCanvas::Container *canvas_group=0)
 
void transport_changed ()
 
void transport_looped ()
 
void rec_enable_changed ()
 
void sess_rec_enable_changed ()
 
void create_rec_box (samplepos_t sample_pos, double width)
 
void cleanup_rec_box ()
 
virtual void update_rec_box ()
 
virtual void remove_region_view (std::weak_ptr< ARDOUR::Region >)
 
void display_track (std::shared_ptr< ARDOUR::Track >)
 
virtual void undisplay_track ()
 
void layer_regions ()
 
void playlist_switched (std::weak_ptr< ARDOUR::Track >)
 
void setup_new_rec_layer_time (std::shared_ptr< ARDOUR::Region >)
 
- Protected Attributes inherited from StreamView
RouteTimeAxisView_trackview
 
ArdourCanvas::Container_canvas_group
 
ArdourCanvas::Rectanglecanvas_rect
 
RegionViewList region_views
 
double _samples_per_pixel
 
sigc::connection screen_update_connection
 
std::vector< RecBoxInforec_rects
 
std::list< std::pair< std::shared_ptr< ARDOUR::Region >, RegionView * > > rec_regions
 
bool rec_updating
 
bool rec_active
 
uint32_t region_color
 Contained region color. More...
 
uint32_t stream_base_color
 Background color. More...
 
PBD::ScopedConnectionList playlist_connections
 
PBD::ScopedConnection playlist_switched_connection
 
ARDOUR::layer_t _layers
 
LayerDisplay _layer_display
 
double height
 
PBD::ScopedConnectionList rec_data_ready_connections
 
samplepos_t last_rec_data_sample
 
samplepos_t _new_rec_layer_time
 

Detailed Description

Definition at line 53 of file audio_streamview.h.

Constructor & Destructor Documentation

◆ AudioStreamView()

AudioStreamView::AudioStreamView ( AudioTimeAxisView )

◆ ~AudioStreamView()

AudioStreamView::~AudioStreamView ( )

Member Function Documentation

◆ add_region_view_internal()

RegionView* AudioStreamView::add_region_view_internal ( std::shared_ptr< ARDOUR::Region ,
bool  wait_for_waves,
bool  recording = false 
)
privatevirtual

Implements StreamView.

◆ color_handler()

void AudioStreamView::color_handler ( )
privatevirtual

Implements StreamView.

◆ create_region_view()

RegionView* AudioStreamView::create_region_view ( std::shared_ptr< ARDOUR::Region ,
bool  ,
bool   
)
virtual

Reimplemented from StreamView.

◆ get_amplitude_above_axis()

gdouble AudioStreamView::get_amplitude_above_axis ( )
inline

Definition at line 60 of file audio_streamview.h.

◆ hide_all_fades()

void AudioStreamView::hide_all_fades ( )

◆ hide_xfades_with()

std::pair<std::list<AudioRegionView*>, std::list<AudioRegionView*> > AudioStreamView::hide_xfades_with ( std::shared_ptr< ARDOUR::AudioRegion ar)

◆ rec_peak_range_ready()

void AudioStreamView::rec_peak_range_ready ( samplepos_t  start,
ARDOUR::samplecnt_t  cnt,
std::weak_ptr< ARDOUR::Source src 
)
private

◆ redisplay_track()

void AudioStreamView::redisplay_track ( )
privatevirtual

Implements StreamView.

◆ region_canvas()

ArdourCanvas::Container* AudioStreamView::region_canvas ( ) const
inlinevirtual

Reimplemented from StreamView.

Definition at line 74 of file audio_streamview.h.

◆ reload_waves()

void AudioStreamView::reload_waves ( )

◆ remove_audio_region_view()

void AudioStreamView::remove_audio_region_view ( std::shared_ptr< ARDOUR::AudioRegion )
private

◆ set_amplitude_above_axis()

int AudioStreamView::set_amplitude_above_axis ( gdouble  app)

◆ set_layer_display()

void AudioStreamView::set_layer_display ( LayerDisplay  )
virtual

Reimplemented from StreamView.

◆ set_selected_points()

void AudioStreamView::set_selected_points ( PointSelection )

◆ setup_rec_box()

void AudioStreamView::setup_rec_box ( )
privatevirtual

Implements StreamView.

◆ show_all_fades()

void AudioStreamView::show_all_fades ( )

◆ update_rec_regions()

void AudioStreamView::update_rec_regions ( ARDOUR::samplepos_t  ,
ARDOUR::samplecnt_t   
)
private

Member Data Documentation

◆ _amplitude_above_axis

double AudioStreamView::_amplitude_above_axis
private

Definition at line 88 of file audio_streamview.h.

◆ _region_group

ArdourCanvas::Container* AudioStreamView::_region_group
private

Definition at line 92 of file audio_streamview.h.

◆ outline_region

bool AudioStreamView::outline_region
private

Definition at line 94 of file audio_streamview.h.

◆ rec_data_ready_map

std::map<std::shared_ptr<ARDOUR::Source>, bool> AudioStreamView::rec_data_ready_map
private

Definition at line 90 of file audio_streamview.h.


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