limited history depth (no GUI yet); more work on import dialog and semantics

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2361 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-09-02 15:17:13 +00:00
parent 6c2728f981
commit f2a2e9c002
21 changed files with 355 additions and 180 deletions

View file

@ -513,16 +513,14 @@ AudioStreamView::setup_rec_box ()
/* start a new rec box */
AudioTrack* at;
at = _trackview.audio_track(); /* we know what it is already */
boost::shared_ptr<AudioTrack> at = _trackview.audio_track ();
boost::shared_ptr<AudioDiskstream> ds = at->audio_diskstream();
nframes_t frame_pos = ds->current_capture_start ();
gdouble xstart = _trackview.editor.frame_to_pixel (frame_pos);
gdouble xend;
uint32_t fill_color;
switch (_trackview.audio_track()->mode()) {
switch (at->mode()) {
case Normal:
xend = xstart;
fill_color = ARDOUR_UI::config()->canvasvar_RecordingRect.get();