Commit graph

65 commits

Author SHA1 Message Date
Sampo Savolainen
25bae763ca Fix dialog message to something sensible.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3171 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-24 13:22:49 +00:00
Paul Davis
b6776d1102 don't popup import progress window until we give import a chance to fail first; sndfile doesn't print open() errors if HAVE_COREAUDIO is set since we fall back to CoreAudio then
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-27 14:40:59 +00:00
Paul Davis
3188ad3ab0 fix up BWF creation; make CoreAudioSource work; add CAImportable; refactor SourceFactory to try sndfile first, CoreAudio second
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-27 13:56:14 +00:00
Paul Davis
295b2da733 non-AA canvas support (not used by default); new SAE menus; fix locate-play-locate ; add toggle-punch ; use primary clock for verbose cursor mode at all the right times; minimize clock redrawing part one
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-26 16:34:45 +00:00
Paul Davis
6f0f3d7056 fix use of basename; AU automation now working; add gtk event reporter back into SAE bundle; fix up carbon menu handler so that it never causes a nested gtk main loop problem
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-15 20:37:41 +00:00
Sampo Savolainen
e58375fdda Make import GUI report if you are importing a file of a name that
already exists in the session. Legwork to allow updating existing source 
files via the import dialog. 

Fix bug which caused the current import logic to select existing file 
name as target file when importing. This caused the newly imported file 
to be concatenated after the original data.



git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3059 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-15 06:41:22 +00:00
Paul Davis
db1adb842a Back-port tim mayberry's fixes for import; fix JACK slaving to never pay attention to timecode-source-is-synced
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-04 03:37:07 +00:00
Paul Davis
0901000abb add arrow head to selected marker line; fix no-import-embed when selecting "use timestamp"; make split/align use edit point and other integrated editing changes
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-12 15:01:56 +00:00
Paul Davis
96fa1cd0b6 the edit cursor is dead, long live the edit point; plus a few fixes; plus location locking
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09 03:36:24 +00:00
Paul Davis
998771e57d initial round of work to support new edit point option, and removal of edit cursor
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-07 17:05:46 +00:00
Paul Davis
2859868109 fix crash bug caused by incorrectly setting transience of audio clocks in the SoundFileBox
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-27 19:45:47 +00:00
Paul Davis
dfa476334a 2 patches from jdavisp3; remove some debugging output from generic MIDI; rationalize string usage in SoundFileOmega; allow "mode hint" when using SoundFileOmega; restore context menu import functionality; bump to v2.1
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-27 16:17:21 +00:00
Paul Davis
b8a20bdf32 fix crash during import when selected tracks include busses
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-24 20:00:48 +00:00
Paul Davis
2e765255e9 improvements (?) for window visibility during session loading - time to test on linux
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-24 15:41:23 +00:00
Paul Davis
71df552f0a make big clock be on top ALWAYS; more design fixes for async peak building; fix up peakfile name screw up but WITHOUT back-compatibility
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-12 19:10:04 +00:00
Paul Davis
ced90fa400 add SRC quality to import dialog; fix instances of missing waveforms where new sources are created; add fader+meter to import dialog; metering now doesn't return -inf for ninputs == 0, only if ninputs & noutputs == 0
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-11 14:34:21 +00:00
Paul Davis
7933b74f41 try to fix async peaks issue; fix crasher caused by previous lock changes in AudioSource; unselect everything after Apply; save tags correctly (?)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-11 02:57:05 +00:00
Paul Davis
bf27a5c45c async generation of peakfiles for embedded files
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 16:44:43 +00:00
Paul Davis
de97630a21 fix egregious widespread bug now that JACK has physical MIDI ports; make sample rate label in import dialog red when SR doesn't match
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 15:30:01 +00:00
Paul Davis
40bc1c239e more changes for the import dialog, with breakout of importable source code into its own files
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 13:04:23 +00:00
Paul Davis
78cef3909f autoplay mode and other tweaks to the import dialog; fix resource management while auditioning
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2427 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-07 03:17:18 +00:00
Paul Davis
82fb1d9182 split SoundFileBrowser back into SoundFileOmega; make SoundFileChooser work again; fix bug in assigning click sounds
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2417 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 22:23:26 +00:00
Paul Davis
2b3716526b sort of make to-selected-tracks import/embed work
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2416 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 21:01:32 +00:00
Paul Davis
56c86c148d more improvements and fixes for the import dialog
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 15:01:49 +00:00
Paul Davis
76aac52d4a make sfdb browser a member of session, to retain settings
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 03:01:57 +00:00
Paul Davis
0593717d58 fix for NSD filename/folder extraction; import now works as well as embed does (and shares the codepath)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2365 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-03 22:46:21 +00:00
Paul Davis
f2a2e9c002 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
2007-09-02 15:17:13 +00:00
Paul Davis
6c2728f981 more upgrades to the import dialog
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-30 20:25:47 +00:00
Paul Davis
cc455e0d0a first pass at thorwil's mockup of import dialog; remove some JACK error messages because they are distracting and duplicated by others
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-28 03:04:47 +00:00
Paul Davis
218b893464 fix crashing mouse-button+'s' operation (generically, not just for 's'); more import changes to support SAE goals re: embedding
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2351 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-27 15:20:29 +00:00
Paul Davis
45199451e0 round one of import design changes (still not fully functional, but basic stuff works
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-26 01:54:34 +00:00
Paul Davis
327275f4c9 support DnD in native/gtk-quartz implementation (note: multifile DnD requires a patch to GTK that is not in distribution yet, so for now, this works only with 1 file at a time, or it requires my patch/library).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-16 23:17:35 +00:00
Paul Davis
1516d52ffa new automation interval configuration variable, to control automation snapshot time resolution (for oofus to test); patch for cancellingmulti-file import; minor code cleanups; use boost::fast_pool_allocator for automation lists (may revert later)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-06 03:11:52 +00:00
Paul Davis
0eafb1f300 fix crashes when handling files with ":" in their paths. Cost: cannot load old sessions with non-mono embedded files anymore
git-svn-id: svn://localhost/ardour2/trunk@1672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06 02:48:29 +00:00
Paul Davis
8ed825c3dd fix nasty logic error that leads to crashing bugs when trying to operate on regions that have been subject to undo/redo
git-svn-id: svn://localhost/ardour2/trunk@1670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-06 02:27:24 +00:00
Paul Davis
c69ef10067 fix rect redraw problem(s); make zoom range rect visible again at the right time; apply tim's window title patch
git-svn-id: svn://localhost/ardour2/trunk@1617 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-18 16:45:43 +00:00
Paul Davis
702411f658 edit groups tab gets headers (carl); use sampo's SSE find_peaks code; fix build for find_peaks on x86; don't duplicate sources when embedding; use Glib::ustring for all source-related strings; fixup plugin UI automation buttons
git-svn-id: svn://localhost/ardour2/trunk@1595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-15 19:42:42 +00:00
Paul Davis
4822a75e4c fix #1497, related to lack of status.done setting when libsndfile craps out on us
git-svn-id: svn://localhost/ardour2/trunk@1528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-27 19:01:38 +00:00
Paul Davis
d6ef740e90 remove all lines to avoid recompiles after commits
git-svn-id: svn://localhost/ardour2/trunk@1488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-22 18:36:03 +00:00
Paul Davis
9e8082aad6 small change to region creation for make-mono-regions; add untested short_path(); fix double-redraws when canvas zoom/position changes
git-svn-id: svn://localhost/ardour2/trunk@1396 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-29 20:02:43 +00:00
Paul Davis
5ee3e58718 fix import/embed of multichannel audiofiles, as per #1433
git-svn-id: svn://localhost/ardour2/trunk@1386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-25 17:42:19 +00:00
Paul Davis
afa29d3190 use ustring more; handle embedding of "paired" files as per mantis #1362
git-svn-id: svn://localhost/ardour2/trunk@1241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-21 18:38:00 +00:00
Paul Davis
af12adb34f use shared_ptr for all Playlist handling; cleanup works again
git-svn-id: svn://localhost/ardour2/trunk@1209 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-14 14:15:43 +00:00
Paul Davis
90263f9a6d fix visual focus indication in IOSelector; import pays attention to audio file embedded position; peaks now built properly for embedded/imported files
git-svn-id: svn://localhost/ardour2/trunk@1104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-11-11 00:14:12 +00:00
Paul Davis
93c7aeba04 fixes for destructive track offsets of various kinds; move from jack_nframes_t -> nframes_t
git-svn-id: svn://localhost/ardour2/trunk@933 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-28 17:23:52 +00:00
Paul Davis
ac1272c0d4 the BIG CONFIG patch
git-svn-id: svn://localhost/ardour2/trunk@926 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-25 21:24:00 +00:00
Paul Davis
f2c8ae66c0 remove all duplicated _id members from children of PBD::Stateful.
Sources now know about Session.
rearrange session directory heirarchy. remove tape_dir stuff. 
NSD allows absolute/relative paths to be typed straight into the text entry.
Session history reloaded after all 3rd party registrations done.
Editor restores its ID; other objects still need this.
use g_mkdir_with_parents() instead of mkdir()
one example of using g_file_test() instead of access.




git-svn-id: svn://localhost/ardour2/trunk@908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-07 15:07:14 +00:00
Paul Davis
21d85f1854 merge changes from harrison branch back into trunk, by hand
git-svn-id: svn://localhost/ardour2/trunk@878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-31 13:23:43 +00:00
Paul Davis
6535cd1b1d used shared_ptr<Source>, somewhat successfully
git-svn-id: svn://localhost/ardour2/trunk@861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-29 00:23:45 +00:00
Paul Davis
ce234f363e use shared_ptr<> for all region handling
git-svn-id: svn://localhost/ardour2/trunk@852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-08-25 01:07:15 +00:00