- void rec_peak_range_ready (jack_nframes_t start, jack_nframes_t cnt, ARDOUR::Source* src);
- void update_rec_regions ();
-
- void add_region_view_internal (ARDOUR::Region*, bool wait_for_waves);
- void remove_region_view (ARDOUR::Region* );
- void remove_audio_region_view (ARDOUR::AudioRegion* );
- void remove_audio_rec_region (ARDOUR::AudioRegion*);
-
- void undisplay_diskstream ();
- void redisplay_diskstream ();
- void playlist_modified ();
- void playlist_changed (ARDOUR::Diskstream *ds);
-
- void add_crossfade (ARDOUR::Crossfade*);
- void remove_crossfade (ARDOUR::Crossfade*);
-
- void color_handler (ColorID id, uint32_t val);
-
+ void rec_peak_range_ready (framepos_t start, ARDOUR::framecnt_t cnt, boost::weak_ptr<ARDOUR::Source> src);
+ void update_rec_regions (ARDOUR::framepos_t, ARDOUR::framecnt_t);
+
+ RegionView* add_region_view_internal (boost::shared_ptr<ARDOUR::Region>, bool wait_for_waves, bool recording = false);
+ void remove_audio_region_view (boost::shared_ptr<ARDOUR::AudioRegion> );
+
+ void redisplay_track ();
+
+ void color_handler ();
+