Paul Davis [Tue, 18 Mar 2008 03:42:32 +0000 (03:42 +0000)]
refactor JACK MIDI port to allow writing from a non-process() thread, and move ARDOUR::MidiEvent into MIDI namespace along with midi_events.h header
git-svn-id: svn://localhost/ardour2/branches/3.0@3155
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Tue, 18 Mar 2008 00:58:36 +0000 (00:58 +0000)]
band-aid fix for wrong-thread-MIDI-writes
git-svn-id: svn://localhost/ardour2/branches/3.0@3154
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 17 Mar 2008 20:54:43 +0000 (20:54 +0000)]
added back glibmm2/Makefile.am
git-svn-id: svn://localhost/ardour2/branches/3.0@3153
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 17 Mar 2008 20:54:03 +0000 (20:54 +0000)]
merge with 2.0-ongoing @ rev 3147
git-svn-id: svn://localhost/ardour2/branches/3.0@3152
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Mon, 17 Mar 2008 14:30:05 +0000 (14:30 +0000)]
cleanup to build glibmm the way we actually want
git-svn-id: svn://localhost/ardour2/branches/3.0@3148
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 15 Mar 2008 00:47:30 +0000 (00:47 +0000)]
Add canvas-note.cc that probably shouldn't exist anyway :)
git-svn-id: svn://localhost/ardour2/branches/3.0@3146
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 15 Mar 2008 00:37:17 +0000 (00:37 +0000)]
Apply note resizing patch from hans.
git-svn-id: svn://localhost/ardour2/branches/3.0@3145
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 12 Mar 2008 01:01:27 +0000 (01:01 +0000)]
Clear selection in MidiRegionView::clear_events (can't select what isn't there....).
git-svn-id: svn://localhost/ardour2/branches/3.0@3141
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 10 Mar 2008 22:32:36 +0000 (22:32 +0000)]
Remove redundant MidiRegionView::start_remove_command.
git-svn-id: svn://localhost/ardour2/branches/3.0@3140
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 25 Feb 2008 01:33:30 +0000 (01:33 +0000)]
Fix selection issues.
git-svn-id: svn://localhost/ardour2/branches/3.0@3120
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 23 Feb 2008 02:14:17 +0000 (02:14 +0000)]
Fix weird formatting in lineset.cc to match conventions.
git-svn-id: svn://localhost/ardour2/branches/3.0@3112
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 22 Feb 2008 04:13:44 +0000 (04:13 +0000)]
Remove SMF file name print for every opened source.
Fix crash on startup when installed (splash.png not found).
git-svn-id: svn://localhost/ardour2/branches/3.0@3108
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 22 Feb 2008 01:49:33 +0000 (01:49 +0000)]
Hopefully fix missing meter/fader on mixer.
git-svn-id: svn://localhost/ardour2/branches/3.0@3106
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 22 Feb 2008 01:45:29 +0000 (01:45 +0000)]
Clean up weird formatting from underlays patch.
Fix several memory (valgrind) errors in a vain attempt to fix crash on session close.
git-svn-id: svn://localhost/ardour2/branches/3.0@3105
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 20:20:40 +0000 (20:20 +0000)]
Fix key stealing on MIDI region views.
git-svn-id: svn://localhost/ardour2/branches/3.0@3102
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 19:51:41 +0000 (19:51 +0000)]
Fix ruler scale on initial view (apply patch from nick_m).
git-svn-id: svn://localhost/ardour2/branches/3.0@3101
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 19:43:42 +0000 (19:43 +0000)]
Steal n key for note tool, normalize be damned.
git-svn-id: svn://localhost/ardour2/branches/3.0@3100
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 19:30:01 +0000 (19:30 +0000)]
Fix install path problems (s/ardour2/ardour3).
Fix finding of keybindings file when running from source tree (via ardev/ardbg).
Fix clashing keybindings for zoom stuff.
Add note tool keybinding and menu entry.
git-svn-id: svn://localhost/ardour2/branches/3.0@3099
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 21 Feb 2008 00:15:20 +0000 (00:15 +0000)]
Fix timing on MIDI import.
git-svn-id: svn://localhost/ardour2/branches/3.0@3093
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 20 Feb 2008 23:24:51 +0000 (23:24 +0000)]
Some work towards MIDI plugins (LV2 plugins with (MIDI supporting) event ports shown in plugin selector).
git-svn-id: svn://localhost/ardour2/branches/3.0@3092
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 19 Feb 2008 22:10:27 +0000 (22:10 +0000)]
Merge with 2.0-ongoing R3082.
Superficial generification of export stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@3088
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 19 Feb 2008 03:40:25 +0000 (03:40 +0000)]
Added missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@3087
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 19 Feb 2008 03:24:44 +0000 (03:24 +0000)]
Less crash-happy MIDI reading on weird MIDI files.
Make "show existing automation" create/show automation tracks for all contained CC in MIDI tracks.
Fix staggered time when importing multi-track MIDI files.
git-svn-id: svn://localhost/ardour2/branches/3.0@3086
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 19 Feb 2008 01:31:24 +0000 (01:31 +0000)]
'Channel safe' MIDI:
Resolve note on/off pairs in MidiModel.
Add channel field to Parameter (for associating a channel with a CC list).
Add channel selector to 'add controller automation' dialog.
Write out note and CC MIDI events with proper channel.
git-svn-id: svn://localhost/ardour2/branches/3.0@3085
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 18 Feb 2008 23:30:27 +0000 (23:30 +0000)]
Channel-aware note recording in MidiModel (i.e. multi-channel note input doesn't cause stuck notes).
Fix MIDI regions randomly displaying 100% stuck notes (uninitialized MidiPlaylist::_note_mode).
git-svn-id: svn://localhost/ardour2/branches/3.0@3084
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 18 Feb 2008 19:45:52 +0000 (19:45 +0000)]
Preliminary (read: kludgey) MIDI import support.
Only really works when tracks contain only channel 1 data for now.
git-svn-id: svn://localhost/ardour2/branches/3.0@3083
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 17 Feb 2008 23:12:35 +0000 (23:12 +0000)]
Update export dialog to match the new fancy one from 2.0-ongoing.
git-svn-id: svn://localhost/ardour2/branches/3.0@3082
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 17 Feb 2008 17:49:38 +0000 (17:49 +0000)]
Merge with 2.0-ongoing R3077.
git-svn-id: svn://localhost/ardour2/branches/3.0@3078
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 16 Feb 2008 22:55:47 +0000 (22:55 +0000)]
Merge with 2.0-ongoing R3071.
git-svn-id: svn://localhost/ardour2/branches/3.0@3074
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 16 Feb 2008 22:43:18 +0000 (22:43 +0000)]
Merge with 2.0-ongoing R3071.
git-svn-id: svn://localhost/ardour2/branches/3.0@3073
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 10 Feb 2008 18:16:25 +0000 (18:16 +0000)]
Committed underlay support (from Audun).
git-svn-id: svn://localhost/ardour2/branches/3.0@3037
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 4 Feb 2008 00:29:54 +0000 (00:29 +0000)]
Fix libsndfile warning (useless conditional).
git-svn-id: svn://localhost/ardour2/branches/3.0@3004
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 4 Feb 2008 00:21:46 +0000 (00:21 +0000)]
Fix domain to match 2.0-ongoing style.
git-svn-id: svn://localhost/ardour2/branches/3.0@3003
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 3 Feb 2008 22:31:40 +0000 (22:31 +0000)]
Added missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@3002
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 3 Feb 2008 20:33:49 +0000 (20:33 +0000)]
Update clearlooks to fancy new cairo version.
Twiddle colours and throw some gloss in there mostly just to show off.
git-svn-id: svn://localhost/ardour2/branches/3.0@3000
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 2 Feb 2008 17:58:24 +0000 (17:58 +0000)]
Fix compilation. Oops.
git-svn-id: svn://localhost/ardour2/branches/3.0@2993
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 2 Feb 2008 17:46:56 +0000 (17:46 +0000)]
Sort various things to reduce merge hell. No functional changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@2992
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 2 Feb 2008 17:22:04 +0000 (17:22 +0000)]
Merge with 2.0-ongoing R2988
git-svn-id: svn://localhost/ardour2/branches/3.0@2991
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 2 Feb 2008 03:57:35 +0000 (03:57 +0000)]
Merge with trunk R2978.
git-svn-id: svn://localhost/ardour2/branches/3.0@2988
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Nick Mainsbridge [Sat, 19 Jan 2008 15:47:40 +0000 (15:47 +0000)]
collapse filechooser widget initially in export dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@2947
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 19 Jan 2008 05:46:26 +0000 (05:46 +0000)]
Fix audio region view height on track height adjustment.
git-svn-id: svn://localhost/ardour2/branches/3.0@2946
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 19 Jan 2008 05:38:54 +0000 (05:38 +0000)]
Comment out splash screen stuff for now (segfaults on every session load).
git-svn-id: svn://localhost/ardour2/branches/3.0@2945
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 19 Jan 2008 05:06:33 +0000 (05:06 +0000)]
Merge with 2.0-ongoing R2943.
git-svn-id: svn://localhost/ardour2/branches/3.0@2944
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 19 Jan 2008 03:49:52 +0000 (03:49 +0000)]
Merge with trunk R2935.
git-svn-id: svn://localhost/ardour2/branches/3.0@2943
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Paul Davis [Thu, 17 Jan 2008 16:21:21 +0000 (16:21 +0000)]
the rename of trunk, since what has been trunk isn't a trunk.
git-svn-id: svn://localhost/ardour2/branches/3.0@2930
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 17 Jan 2008 02:45:35 +0000 (02:45 +0000)]
Added missing files.
git-svn-id: svn://localhost/ardour2/trunk@2928
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 17 Jan 2008 00:37:46 +0000 (00:37 +0000)]
MIDI region stretching.
git-svn-id: svn://localhost/ardour2/trunk@2927
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 15 Jan 2008 17:23:57 +0000 (17:23 +0000)]
Merge with trunk R2920.
git-svn-id: svn://localhost/ardour2/trunk@2921
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 15 Jan 2008 03:32:51 +0000 (03:32 +0000)]
Fix problem with notes occasionally not showing up at all.
git-svn-id: svn://localhost/ardour2/trunk@2919
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 15 Jan 2008 00:46:54 +0000 (00:46 +0000)]
Fix track controls gap when showing/hiding editor meters.
git-svn-id: svn://localhost/ardour2/trunk@2916
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 15 Jan 2008 00:35:55 +0000 (00:35 +0000)]
Fix track controls width.
git-svn-id: svn://localhost/ardour2/trunk@2915
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 14 Jan 2008 01:30:38 +0000 (01:30 +0000)]
Partially fix MIDI region trim and extend.
git-svn-id: svn://localhost/ardour2/trunk@2911
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 13 Jan 2008 21:34:04 +0000 (21:34 +0000)]
Install everything to *ardour3* instead of *ardour2*.
Fix initial display of keys and scroomer on new MIDI tracks.
Remove console barf.
git-svn-id: svn://localhost/ardour2/trunk@2909
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 13 Jan 2008 17:45:17 +0000 (17:45 +0000)]
Apply MIDI keyboard and "scroomer" patch.
git-svn-id: svn://localhost/ardour2/trunk@2908
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 13 Jan 2008 00:39:58 +0000 (00:39 +0000)]
Reduce console noise.
git-svn-id: svn://localhost/ardour2/trunk@2906
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 13 Jan 2008 00:27:13 +0000 (00:27 +0000)]
Fix MIDI playback.
git-svn-id: svn://localhost/ardour2/trunk@2905
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sat, 12 Jan 2008 23:45:50 +0000 (23:45 +0000)]
Merge with 2.0-ongoing R2885.
Fix loading of 2.0 sessions.
git-svn-id: svn://localhost/ardour2/trunk@2904
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 11 Jan 2008 00:54:08 +0000 (00:54 +0000)]
Fix LD_PRELOAD hackery for cairomm.
git-svn-id: svn://localhost/ardour2/trunk@2890
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 11 Jan 2008 00:39:37 +0000 (00:39 +0000)]
More build fixes.
git-svn-id: svn://localhost/ardour2/trunk@2889
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 11 Jan 2008 00:07:40 +0000 (00:07 +0000)]
Actually fix compilation w/ SYSLIBS=0.
Set version number to 3.0 (was 2.1).
git-svn-id: svn://localhost/ardour2/trunk@2888
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 10 Jan 2008 23:11:05 +0000 (23:11 +0000)]
(Possible) compile w/o SYSLIBS fix.
git-svn-id: svn://localhost/ardour2/trunk@2887
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 10 Jan 2008 22:29:26 +0000 (22:29 +0000)]
Merge with 2.0-ongoing R2885.
git-svn-id: svn://localhost/ardour2/trunk@2886
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 10 Jan 2008 22:22:29 +0000 (22:22 +0000)]
Merge with 2.0-ongoing R2883.
git-svn-id: svn://localhost/ardour2/trunk@2885
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Thu, 10 Jan 2008 21:20:59 +0000 (21:20 +0000)]
Merge libs/ardour and gtk2_ardour with 2.0-ongoing R2837.
git-svn-id: svn://localhost/ardour2/trunk@2883
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 7 Jan 2008 21:12:29 +0000 (21:12 +0000)]
Merge with 2.0-ongoing R2653.
git-svn-id: svn://localhost/ardour2/trunk@2837
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 21 Dec 2007 00:26:06 +0000 (00:26 +0000)]
Fix meter colour names for consistency.
git-svn-id: svn://localhost/ardour2/trunk@2805
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Fri, 21 Dec 2007 00:08:02 +0000 (00:08 +0000)]
Fix crash when displaying LADSPA plugin UI.
git-svn-id: svn://localhost/ardour2/trunk@2804
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Doug McLain [Thu, 20 Dec 2007 23:25:19 +0000 (23:25 +0000)]
Port level meters to trunk
git-svn-id: svn://localhost/ardour2/trunk@2802
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Wed, 19 Dec 2007 05:05:52 +0000 (05:05 +0000)]
Lower soundtouch version dependency to 1.2.1 w/ SYSLIBS=1. Compiles here...
git-svn-id: svn://localhost/ardour2/trunk@2798
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 18 Dec 2007 22:46:49 +0000 (22:46 +0000)]
Added missing file.
git-svn-id: svn://localhost/ardour2/trunk@2794
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 18 Dec 2007 22:31:38 +0000 (22:31 +0000)]
Make configure script executable.
git-svn-id: svn://localhost/ardour2/trunk@2793
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 18 Dec 2007 07:20:02 +0000 (07:20 +0000)]
Fix building.
git-svn-id: svn://localhost/ardour2/trunk@2791
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Tue, 18 Dec 2007 06:05:55 +0000 (06:05 +0000)]
Remove ancient/unused flowcanvas and libglademm from repository.
Update libraries to latest stable released version (except gnomecanvasmm, which is strangely packaged...).
Fixes building (at least here).
git-svn-id: svn://localhost/ardour2/trunk@2790
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sat, 15 Dec 2007 23:29:38 +0000 (23:29 +0000)]
Check for soundtouch library when using SYSLIBS
git-svn-id: svn://localhost/ardour2/trunk@2787
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sat, 15 Dec 2007 23:29:30 +0000 (23:29 +0000)]
Fix compile for when LIBLO=0
git-svn-id: svn://localhost/ardour2/trunk@2786
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sat, 15 Dec 2007 23:29:21 +0000 (23:29 +0000)]
Remove two unused files in gtk2_ardour
git-svn-id: svn://localhost/ardour2/trunk@2785
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sat, 15 Dec 2007 23:29:02 +0000 (23:29 +0000)]
Remove unused file gtk2_ardour/gtkscrolledwindow.c
git-svn-id: svn://localhost/ardour2/trunk@2784
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Sat, 15 Dec 2007 23:28:47 +0000 (23:28 +0000)]
Fix include statements so they match all other files in gtk2_ardour
git-svn-id: svn://localhost/ardour2/trunk@2783
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Mon, 26 Nov 2007 01:29:11 +0000 (01:29 +0000)]
Use normal Processor run_in_place interface on Meter.
git-svn-id: svn://localhost/ardour2/trunk@2714
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 25 Nov 2007 01:05:48 +0000 (01:05 +0000)]
Fix unused variable warning.
Consistently name canvas colours (was very messy and user exposed).
git-svn-id: svn://localhost/ardour2/trunk@2713
d708f5d6-7413-0410-9779-
e7cbd77b26cf
David Robillard [Sun, 25 Nov 2007 00:28:35 +0000 (00:28 +0000)]
Fix crash on MIDI region split.
git-svn-id: svn://localhost/ardour2/trunk@2712
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Carl Hetherington [Sat, 17 Nov 2007 21:02:05 +0000 (21:02 +0000)]
Apply colinf's fix for bug #1913
git-svn-id: svn://localhost/ardour2/trunk@2689
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:40 +0000 (02:32 +0000)]
Change return type of Session::import_audiofiles to void as the int return value was not used
git-svn-id: svn://localhost/ardour2/trunk@2677
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:35 +0000 (02:32 +0000)]
Rename Session::import_audiofile to Session::import_audiofiles now that it imports more than a single file
git-svn-id: svn://localhost/ardour2/trunk@2676
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:30 +0000 (02:32 +0000)]
Improve the readability of Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2675
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:27 +0000 (02:32 +0000)]
Refactor Session::import_audiofile to reduce complexity and remove use of goto
git-svn-id: svn://localhost/ardour2/trunk@2674
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:23 +0000 (02:32 +0000)]
Remove an unnessesary use of goto in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2673
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:20 +0000 (02:32 +0000)]
Check for cancel at the top of the main loop in Session::import_audiofile rather than using goto
git-svn-id: svn://localhost/ardour2/trunk@2672
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:15 +0000 (02:32 +0000)]
Use sys::basename instead of PBD::basename_nosuffix in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2671
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:11 +0000 (02:32 +0000)]
Simplify finalization code in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2670
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:07 +0000 (02:32 +0000)]
Use std::copy instead of for loop in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2669
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:32:01 +0000 (02:32 +0000)]
Use full name of file being imported in status message during import
git-svn-id: svn://localhost/ardour2/trunk@2668
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:31:58 +0000 (02:31 +0000)]
Pass a path argument to ImportableSource rather than SNDFILE handle so resource management is contained
git-svn-id: svn://localhost/ardour2/trunk@2667
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:31:54 +0000 (02:31 +0000)]
Fix mixed usage of tabs and spaces for indentation in ardour/importable_source.h
git-svn-id: svn://localhost/ardour2/trunk@2666
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:31:46 +0000 (02:31 +0000)]
Use std::auto_ptr instead of boost::scoped_ptr in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2665
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:31:43 +0000 (02:31 +0000)]
Move variable declaration closer to usage
git-svn-id: svn://localhost/ardour2/trunk@2664
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:31:39 +0000 (02:31 +0000)]
Use sys::remove instead of ::unlink in Session::import_audiofile for portability
git-svn-id: svn://localhost/ardour2/trunk@2663
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:31:36 +0000 (02:31 +0000)]
Remove unused variable in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2662
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:31:32 +0000 (02:31 +0000)]
Use scoped_ptr in Session::import_audiofile to manage ImportableSource
git-svn-id: svn://localhost/ardour2/trunk@2661
d708f5d6-7413-0410-9779-
e7cbd77b26cf
Tim Mayberry [Thu, 15 Nov 2007 02:31:28 +0000 (02:31 +0000)]
Refactor part of Session::import_audiofile into write_audio_data_to_new_files utility function
git-svn-id: svn://localhost/ardour2/trunk@2660
d708f5d6-7413-0410-9779-
e7cbd77b26cf