1bffd1c209
Use std::vector and boost::shared_array instead of raw arrays for channel data in Session::import_audiofile
...
git-svn-id: svn://localhost/ardour2/trunk@2659 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:23 +00:00
4f7e6c0714
Use boost::scoped_array to manage working buffer for RAII in Session::import_audiofile
...
git-svn-id: svn://localhost/ardour2/trunk@2658 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:19 +00:00
4e89709c2d
Move filename generation in Session::import_audiofile to utility function get_non_existent_filename
...
git-svn-id: svn://localhost/ardour2/trunk@2657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:14 +00:00
1c70e4393e
Use boost::shared_ptr for RAII with a SNDFILE handle in Session::import_audiofile
...
A scoped_ptr would be more suitable and efficient but scoped_ptr doesn't support
a custom deleter function(sf_close in this case), there are ways around that
limitation but I don't think it is worth doing at this point as it requires more
code etc.
git-svn-id: svn://localhost/ardour2/trunk@2656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:09 +00:00
Carl Hetherington
108e924ad5
Add cairomm to LD_LIBRARY_PATH
...
git-svn-id: svn://localhost/ardour2/trunk@2655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-14 16:39:44 +00:00
76eb152745
Change the button order in the duplicate region dialog. Fixes bug 1877
...
git-svn-id: svn://localhost/ardour2/trunk@2651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 13:21:11 +00:00
Carl Hetherington
49df5c24a9
More missing bits.
...
git-svn-id: svn://localhost/ardour2/trunk@2650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 11:09:40 +00:00
Carl Hetherington
f44e2a5e69
Yet more missing things. I'm going slightly mad.
...
git-svn-id: svn://localhost/ardour2/trunk@2649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 11:00:40 +00:00
Carl Hetherington
cec0caf4fc
Add some more bits.
...
git-svn-id: svn://localhost/ardour2/trunk@2648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:55:13 +00:00
Carl Hetherington
9c98fdec1b
Fix up permissions.
...
git-svn-id: svn://localhost/ardour2/trunk@2647 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:54:16 +00:00
Carl Hetherington
a1e55f9367
Fix up permissions.
...
git-svn-id: svn://localhost/ardour2/trunk@2646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:53:56 +00:00
Carl Hetherington
aa6faa86b5
More missing stuff...
...
git-svn-id: svn://localhost/ardour2/trunk@2645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:45:40 +00:00
Carl Hetherington
a313924b77
Re-add glibmm2 properly.
...
git-svn-id: svn://localhost/ardour2/trunk@2644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:37:24 +00:00
Carl Hetherington
89f1f09c04
Add stuff missing from yesterday's library commit.
...
git-svn-id: svn://localhost/ardour2/trunk@2643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:29:44 +00:00
c660fd3129
Fix three minor memory leaks in the Editor by using Gtk::manage
...
git-svn-id: svn://localhost/ardour2/trunk@2642 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:41:23 +00:00
f9bc731186
Add missing files from tarball scons target
...
git-svn-id: svn://localhost/ardour2/trunk@2641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:41:16 +00:00
84e1a74e43
Don't log info message when creating session directories
...
git-svn-id: svn://localhost/ardour2/trunk@2640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:41:12 +00:00
e1351fbe75
Don't log a warning when the system template directory does not exist.
...
git-svn-id: svn://localhost/ardour2/trunk@2639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:41:02 +00:00
e75fe398ac
Remove unused header include from ardour/ladspa_plugin.cc
...
git-svn-id: svn://localhost/ardour2/trunk@2638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:40:56 +00:00
3b32566d30
Modify Session::path_from_region_name for portability
...
git-svn-id: svn://localhost/ardour2/trunk@2637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:40:50 +00:00
6dc5e02575
Replace Glib::file_test with sys::exists in Session::path_from_region_name
...
git-svn-id: svn://localhost/ardour2/trunk@2636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:40:45 +00:00
7b8bfddca6
fixed bad merge
...
git-svn-id: svn://localhost/ardour2/trunk@2632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 01:55:56 +00:00
Carl Hetherington
d346adb1d9
Add missing cairomm lib from previous commit.
...
git-svn-id: svn://localhost/ardour2/trunk@2631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 00:43:53 +00:00
Carl Hetherington
61c990dfba
Upgrade gtkmm to 2.10.8, glibmm to 2.13.3 and add cairomm 1.2.4
...
git-svn-id: svn://localhost/ardour2/trunk@2630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-12 23:44:49 +00:00
b01bdb7e70
merged with trunk revs 2605-2627
...
git-svn-id: svn://localhost/ardour2/trunk@2628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-12 22:23:01 +00:00
Carl Hetherington
99d002dbdf
Remove some debugging code which causes slow flashy screen updates.
...
git-svn-id: svn://localhost/ardour2/trunk@2616 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-10 12:23:19 +00:00
badc087263
merged with 2.0-ongoing changes 2582-2605 (not thoroughly tested but it compiles, start up, and creates a new session)
...
git-svn-id: svn://localhost/ardour2/trunk@2606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-08 01:40:25 +00:00
df20e5935f
stop auto-play from trying to play things that are not soundfiles
...
git-svn-id: svn://localhost/ardour2/trunk@2603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-07 05:09:10 +00:00
8e73c9ee80
patch to prevent (mostly) CD marker being set for the start of the session
...
git-svn-id: svn://localhost/ardour2/trunk@2601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-07 02:42:27 +00:00
Carl Hetherington
3069423106
Patch from jdavisp3 to further improve region gain line behaviour, as discussed in bug #1841
...
git-svn-id: svn://localhost/ardour2/trunk@2599 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-06 13:33:39 +00:00
Carl Hetherington
3594c3d80c
Similar fix to previous commit for Mixer_UI::sync_order_keys()
...
git-svn-id: svn://localhost/ardour2/trunk@2598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-06 13:27:25 +00:00
Carl Hetherington
6c923d7f60
Fix crash in Editor::sync_order_keys() when a route is removed.
...
git-svn-id: svn://localhost/ardour2/trunk@2597 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-06 12:53:04 +00:00
Carl Hetherington
95c0c53ab9
Fix pathname.
...
git-svn-id: svn://localhost/ardour2/trunk@2596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-06 12:01:02 +00:00
Carl Hetherington
e64eae1eca
Make pending state dialogue modal, and give it a more friendly (and translatable) name.
...
git-svn-id: svn://localhost/ardour2/trunk@2594 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-05 17:11:55 +00:00
Carl Hetherington
61fad5fd44
Patch from jdavisp3 to fix #1894
...
git-svn-id: svn://localhost/ardour2/trunk@2592 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-05 16:57:19 +00:00
Carl Hetherington
53d072a6d7
Patch from jdavisp3 to fix bug #1841 .
...
git-svn-id: svn://localhost/ardour2/trunk@2590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-05 15:38:19 +00:00
Carl Hetherington
caa3dde1d4
Fix for some problems with punch ranges.
...
git-svn-id: svn://localhost/ardour2/trunk@2589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-05 15:20:44 +00:00
Carl Hetherington
5bf892728c
Select another track when one is deleted, thereby allowing the editor mixer to stick around if it's displayed. Should fix #1542 .
...
git-svn-id: svn://localhost/ardour2/trunk@2588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-04 23:18:15 +00:00
Carl Hetherington
39bdbf5db9
Update region names in the region list when they change, to fix #1584
...
git-svn-id: svn://localhost/ardour2/trunk@2587 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-04 21:40:12 +00:00
Carl Hetherington
48b685dad1
Don't copy a naked pointer in the copy constructor, to prevent a double delete.
...
git-svn-id: svn://localhost/ardour2/trunk@2586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-04 21:01:06 +00:00
Carl Hetherington
56ab60f163
Don't give master or control routes a hide button, to fix #1645
...
git-svn-id: svn://localhost/ardour2/trunk@2585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-04 16:41:49 +00:00
13fce7e753
Do unto MIDI as thou hath done unto audio.
...
git-svn-id: svn://localhost/ardour2/trunk@2582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-31 20:08:00 +00:00
0051f92a4c
Truly atomic port mixdown function setting.
...
git-svn-id: svn://localhost/ardour2/trunk@2581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-31 20:05:49 +00:00
1059b3f48e
new files added
...
git-svn-id: svn://localhost/ardour2/trunk@2580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-31 18:28:52 +00:00
8ab17e9631
new port design, probably about 90% done (i.e it mostly works and this commit is to stop anyone else from stomping on my changes :)
...
git-svn-id: svn://localhost/ardour2/trunk@2579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-31 18:24:43 +00:00
Nick Mainsbridge
1b0f6b1d69
pending state dialog tweaks
...
git-svn-id: svn://localhost/ardour2/trunk@2577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-26 15:31:46 +00:00
Nick Mainsbridge
cc862d31bd
use filechooser widget in export dialog, selected files set format combos, hide progress bar until use in export dialog, speed up 'separate regions in range' operation on larger sessions, ruler scale now calculated separately to mark generation, fix for non-stacked layering regression, try not to generate 'buried' crossfades, use playlist->freeze() to speed up copying/moving regions on large playlists (not done for undo), width dependent items now reset on regionview init, get rid of jack_port_ensure_monitor check, remove audiosourse _length (only source has a length.. i think), make overlapend differ to overlapexternal where start points coincide.
...
git-svn-id: svn://localhost/ardour2/trunk@2576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-26 13:32:24 +00:00
0c3f01e540
Use SSE/veclib/whatever for AudioBuffer::accumulate_from
...
git-svn-id: svn://localhost/ardour2/trunk@2574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-25 00:42:53 +00:00
7ba6a6c11b
Fix mixed space/tab evil in globals.cc for no particular reason.
...
git-svn-id: svn://localhost/ardour2/trunk@2573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-25 00:19:09 +00:00
f53f2e8e33
Clean/strengthen up constructor/type stuff in new port system.
...
git-svn-id: svn://localhost/ardour2/trunk@2572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-25 00:09:23 +00:00