summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2012-07-09automation fixes/changes: when add a new control point, create necessary ↵Paul Davis
points to construct a flat default-valued line from zero the first point, and revert to the default value at the end of the write (breaks value-holds-after-write behaviour); fix bug in data elimination when recording flat-line data git-svn-id: svn://localhost/ardour2/branches/3.0@12997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-09set fader and plugin parameter automation curve default values - what else ↵Paul Davis
needs this? git-svn-id: svn://localhost/ardour2/branches/3.0@12996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-08Report correct time instead of old time when locating as Jack transport master.David Robillard
I encountered this today writing a transport slave, but it seems to be the same problem as issue #743 from 8 years ago. The issue is easier to see with a transport slave client that prints any transport change whatsoever, for example if the current location is some point well into the session and rewind to start is pressed, Ardour reports the old position, not zero. With this change, it reports zero as expected. See comment about why this was happening. If locating here is evil for some reason, then some other way of making jack_timebase_callback report the target position is required. Contrary to what the old comment below this change suggests, follow_slave() does not update _transport_frame in time. git-svn-id: svn://localhost/ardour2/branches/3.0@12993 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-07Fix Jack transport master after session load.David Robillard
Transport master was not being taken because when the configuration variable is set, AudioEngine::set_session() has not been called yet so AudioEngine::reset_timebase() did nothing (the transport stuff at the beginning of Session::when_engine_running() is questionable for the same reasons). I am not sure if this is correct, but I have failed to more thoroughly figure out the issue. At least Ardour actually sets Jack transport information now. However, there are some discrepancies between Ardour time and Jack time, as reported by Session::jack_timebase_callback(). Perhaps related, the transport master menu item does not restore correctly. Previous to this commit, the only way to make a loaded session take transport master was to "set" this out of sync item (which did nothing), then unset it, then set it again, which would finally actually cause the configuration change. git-svn-id: svn://localhost/ardour2/branches/3.0@12992 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-06do not deactivate the meter in a frozen trackPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-05Don't rename playlists on rename track if the track has >1Carl Hetherington
playlist; hopefully helps with the confusion in mantis #4977. git-svn-id: svn://localhost/ardour2/branches/3.0@12990 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-04Revert erroneous commit 12922 and replace with a better fixCarl Hetherington
(should fix #4947, #4963, #4987). git-svn-id: svn://localhost/ardour2/branches/3.0@12986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-02Fix the ProcessContext copy-ctor stuff for older compilers, which don't ↵Sakari Bergen
support template base class initialization without template parameters git-svn-id: svn://localhost/ardour2/branches/3.0@12983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-01Probably fix warnings on Apple's gccSakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@12973 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28further efforts at cleaning up the design of the interaction/relationship ↵Paul Davis
between route sort order keys and remote control IDs git-svn-id: svn://localhost/ardour2/branches/3.0@12962 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28Fix missing lock causing erroneous disk space reports when dragging audio ↵Carl Hetherington
clocks. git-svn-id: svn://localhost/ardour2/branches/3.0@12961 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28Connect to controllable->Destroyed in all cases; fixes crash on route removal.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12959 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28Add what I think is a missing lock when reading controllables.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12958 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-28fix MIDI binding stuff when the controllable does actually exist the first ↵Paul Davis
time we go looking for it (#4950) git-svn-id: svn://localhost/ardour2/branches/3.0@12957 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-27first pass at the big rethink of managing sort order keys for editor and ↵Paul Davis
mixer. this appears to work, but remote control IDs are not yet correct (frequently off by one because of the presence of the master bus in the editor) git-svn-id: svn://localhost/ardour2/branches/3.0@12953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26some generic midi debugging plus an assertPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12950 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26fix up some issues introduced by lifecycle tracking of Controllable in ↵Paul Davis
Generic MIDI control code git-svn-id: svn://localhost/ardour2/branches/3.0@12947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26correctly(?) set number of process thread buffers based on ↵Paul Davis
run-time-discovered num-cpus (#4951) git-svn-id: svn://localhost/ardour2/branches/3.0@12946 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26Add test for loading sessions, and a session with aCarl Hetherington
rec-enabled track that currently crashes. git-svn-id: svn://localhost/ardour2/branches/3.0@12945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26Fix uninitialised variable.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12944 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26Remove unused named selection / chunk code.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12939 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26disconnect from a Controllable when it is destroyedPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26Fix some oddities with playhead movement when locatingCarl Hetherington
during roll. git-svn-id: svn://localhost/ardour2/branches/3.0@12937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-26Some spelling mistake fixes from Debian.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12936 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25Patch from johan_mattsson_m to be more graceful if thereCarl Hetherington
is an undo record which references a non-existant object; this shouldn't happen, of course, but there was a bug in some early betas which made it occur (#4920). git-svn-id: svn://localhost/ardour2/branches/3.0@12930 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25Patch from royvegard to add a set-bank midi functionCarl Hetherington
(#4949). git-svn-id: svn://localhost/ardour2/branches/3.0@12927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25drastic rethink of the relationship between remote control ID and route ↵Paul Davis
order keys. unless the user explicitly switches to UserOrdered, Route::_remote_control_id is an unallocated pointer, and Route::remote_control_id() simply returns a value based on the relevant order_key() value. Also, change the key used in the Route::order_keys std::map<> from a string to an enum, since there is no evidence that we are benefitting from the theoretical benefit of using a string. Generally tidy up allocation of order keys so that the master and monitor busses always get a "special" MixerSort key value, based on the MMC ID for master (already defined within Ardour), and all other tracks/busses start at zero. Syncing keys between editor and mixer will leave the MixerSort key for the master and monitor bus alone, reflecting the fact that we display these in their own distinct parts of the GUI and they are not orderable like other tracks or busses within the mixer window git-svn-id: svn://localhost/ardour2/branches/3.0@12923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25Create diskstream before calling Route::set_state, theCarl Hetherington
set_state causes muted MIDI tracks to look up their diskstream (#4947). git-svn-id: svn://localhost/ardour2/branches/3.0@12922 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-25add late/lazy binding between generic MIDI bindings and controllable ↵Paul Davis
elements in the session. this allows you to load a binding map that refers to elements that have not yet been created in the session, and when they are created, the binding will work git-svn-id: svn://localhost/ardour2/branches/3.0@12921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24Remove some excess commas from the export format descriptionSakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@12920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24Inrease the export "chunk size" to speed it up over 10% at least in some ↵Sakari Bergen
situations git-svn-id: svn://localhost/ardour2/branches/3.0@12919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24Revert to using SSE mix-buffers-with-gain rather than simpleCarl Hetherington
one. git-svn-id: svn://localhost/ardour2/branches/3.0@12918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24Change logic for compiling export format descriptions from incomplete formatsSakari Bergen
git-svn-id: svn://localhost/ardour2/branches/3.0@12917 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24Fix stem export. The capturing processor of routes was never removed, and ↵Sakari Bergen
was restored inactive, which made stem export fail. git-svn-id: svn://localhost/ardour2/branches/3.0@12916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24unused variable warningPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12915 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24string fix, plus a tweak to handling variable i/o AUsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-24In export format dialog, show preview of generated part of description. Fix ↵Sakari Bergen
to #0004941 git-svn-id: svn://localhost/ardour2/branches/3.0@12911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Fix build.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove unused utility function ARDOUR::create_session_directoryTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use SessionDirectory class directly rather than ARDOUR::create_session_directoryTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Change the meaning of the return value in SessionDirectory::createTim Mayberry
return true if the session directories were successfully created, not if the session directory was previously invalid(new directory). git-svn-id: svn://localhost/ardour2/branches/3.0@12907 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove unused pbd/filesystem.h/ccTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove unused or unnecessary header includesTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use std::string and Glib instead of pbd/filesystem.h in DeviceProfileTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use Glib instead of pbd/filesystem.h in GenericMidiControlProtocolTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12901 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Remove unused header includeTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12900 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use std::string and Glib::build_filename in Session::save_templateTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12899 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use std::string and Glib::build_filename in Session::path_from_region_nameTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12898 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use std::string and Glib::build_filename in Session::load_stateTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12897 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use std::string and Glib::build_filename in Session::save_stateTim Mayberry
git-svn-id: svn://localhost/ardour2/branches/3.0@12896 d708f5d6-7413-0410-9779-e7cbd77b26cf