13
0
Commit Graph

3361 Commits

Author SHA1 Message Date
Carl Hetherington
7bdcc127e3 Use shared_ptr for Port in the AudioEngine; improves thread-safety of the audio engine's port list as a writer cannot destroy a port in one thread while the port list is being iterated in another.
git-svn-id: svn://localhost/ardour2/branches/3.0@10327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 17:04:09 +00:00
Carl Hetherington
f65e3f287b Improve audioengine includes slightly.
git-svn-id: svn://localhost/ardour2/branches/3.0@10326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 15:35:09 +00:00
Carl Hetherington
e434d9258e Remove unused method.
git-svn-id: svn://localhost/ardour2/branches/3.0@10325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 15:35:04 +00:00
Carl Hetherington
82f77de973 Remove unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@10324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 15:34:59 +00:00
Carl Hetherington
947422c095 Revert inadvertantly committed stuff from 10322.
git-svn-id: svn://localhost/ardour2/branches/3.0@10323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28 00:31:09 +00:00
Carl Hetherington
0a87941c70 Minor cleanups to IO.
git-svn-id: svn://localhost/ardour2/branches/3.0@10322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27 23:36:42 +00:00
e09504f122 show address of dangling SessionHandle-derived objects
git-svn-id: svn://localhost/ardour2/branches/3.0@10320 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-27 21:04:45 +00:00
ae3eb6e3f4 provide C API for rounded rectangle cairo utility
git-svn-id: svn://localhost/ardour2/branches/3.0@10310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 20:56:57 +00:00
56d397495a remove left-over debugging call to sleep(3) (!!!)
git-svn-id: svn://localhost/ardour2/branches/3.0@10309 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 20:56:16 +00:00
Carl Hetherington
8326ba9066 Don't resort routes at every step during a session's
construction; speeds up loading of big sessions.


git-svn-id: svn://localhost/ardour2/branches/3.0@10308 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 15:14:53 +00:00
Carl Hetherington
ebca0ae87d Wait for the butler to be quiescent before starting
export of each range, rather than just the first one. 
Prevents clashes with both the butler and the export
code doing track refills at the same time (may fix
#4283).


git-svn-id: svn://localhost/ardour2/branches/3.0@10307 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-26 15:14:16 +00:00
Carl Hetherington
09e0f30a81 Re-claim double-clicks on pixfaders to re-fix #3470.
git-svn-id: svn://localhost/ardour2/branches/3.0@10305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 23:46:00 +00:00
Carl Hetherington
854851162b Save and restore _saved_meter_point; fixes #4195.
git-svn-id: svn://localhost/ardour2/branches/3.0@10304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 22:54:30 +00:00
Carl Hetherington
60978b5bc4 Move some code up from {Midi,Audio}Track to Track.
git-svn-id: svn://localhost/ardour2/branches/3.0@10303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 22:54:25 +00:00
Carl Hetherington
24056f055f Remove unused call_base parameter from Route::_set_state.
git-svn-id: svn://localhost/ardour2/branches/3.0@10302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 22:53:09 +00:00
Carl Hetherington
ea01b6024d Fix awful thinko in previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@10301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 20:50:40 +00:00
Carl Hetherington
75e6adcf03 Remove unused read/write data count code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 20:45:29 +00:00
Carl Hetherington
8404d7ff94 Reset source paths on session rename (fixes #4389).
git-svn-id: svn://localhost/ardour2/branches/3.0@10299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 19:47:06 +00:00
Carl Hetherington
b507805bf6 Expose sources_root() for Session and make everything else private rather than protected.
git-svn-id: svn://localhost/ardour2/branches/3.0@10298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 19:46:50 +00:00
Carl Hetherington
31fe3a5d5a Expose set_path so that the Session can alter it.
git-svn-id: svn://localhost/ardour2/branches/3.0@10297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-24 19:40:58 +00:00
040aef6cc3 Ensure we always have at least 1 MIDI buffer
git-svn-id: svn://localhost/ardour2/branches/3.0@10293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-23 20:28:20 +00:00
Carl Hetherington
f44d19fc84 Fix read of MIDI undo information to use the correct time type. Fixes #4387.
git-svn-id: svn://localhost/ardour2/branches/3.0@10292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-23 19:16:42 +00:00
Carl Hetherington
6d66f90c5c Use correct sources_root even when sessions are loaded from inside a session folder, specifying only their .ardour filename (#4032).
git-svn-id: svn://localhost/ardour2/branches/3.0@10285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 21:46:53 +00:00
Carl Hetherington
4c2f9dd11b Add function to recover a full path from something like '.'
git-svn-id: svn://localhost/ardour2/branches/3.0@10284 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 21:46:46 +00:00
Carl Hetherington
195c735181 Implement reset() in panners, and use it from the GUI (fixes #4196).
git-svn-id: svn://localhost/ardour2/branches/3.0@10282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 16:19:27 +00:00
47d0b88830 change several startup messages to be triggered only by -D (debug) options
git-svn-id: svn://localhost/ardour2/branches/3.0@10281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-22 13:30:11 +00:00
cfc0dfdc7e add MonitorState enum to enum manager
git-svn-id: svn://localhost/ardour2/branches/3.0@10277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:42:06 +00:00
1e23a86599 improved/fixed monitoring_state() logic from chrisg
git-svn-id: svn://localhost/ardour2/branches/3.0@10275 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:14:00 +00:00
c1908086bb notify about commit change when we slip out of rec-enabled due to auto-punch
git-svn-id: svn://localhost/ardour2/branches/3.0@10274 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 23:12:19 +00:00
59b02c6b6f get rid of click when transport changes state and we're monitoring input
git-svn-id: svn://localhost/ardour2/branches/3.0@10272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 17:46:20 +00:00
442d807a81 tweak Track::monitoring_state() logic once more
git-svn-id: svn://localhost/ardour2/branches/3.0@10271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 17:33:13 +00:00
bfe9010959 add route group support for monitoring choices
git-svn-id: svn://localhost/ardour2/branches/3.0@10268 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:47:50 +00:00
ecbd2ebb74 tweak monitoring state logic
git-svn-id: svn://localhost/ardour2/branches/3.0@10267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:47:38 +00:00
40be550ae3 fix display (and handling of) monitoring status during roll
git-svn-id: svn://localhost/ardour2/branches/3.0@10266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:21:13 +00:00
8ff34fde9d correctly track monitoring changes in libardour and the GUI; required removing propagation of session rec-enabled status through process chain and replacing it with call to Session::actively_recording() where necessary (may require a new RT event)
git-svn-id: svn://localhost/ardour2/branches/3.0@10265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 15:05:33 +00:00
56da993d83 save&restore for track monitor state
git-svn-id: svn://localhost/ardour2/branches/3.0@10263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 12:34:29 +00:00
96dcffcb22 More robust plugin I/O mapping.
This does not change the actual mapping logic, but makes the application of
the mapping much more robust.  If there is no valid mapping for a given port,
that port is connected to silence (instead of crashing messily and/or via a
failed assertion).

Also tolerate mappings that nonsensically map to a buffer that is not present
(this particularly happens for MIDI ports in some cases) as a temporary fix.
The mapping logic needs work and/or our concept of just how much MIDI we support
in a route needs simplification...


git-svn-id: svn://localhost/ardour2/branches/3.0@10262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21 04:51:04 +00:00
454f14d9c5 make monitor=In work during no-roll conditions without auto-input
git-svn-id: svn://localhost/ardour2/branches/3.0@10261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 21:27:44 +00:00
8b78439173 again, drop the assert when asked to read part of an audio region with an invalid timeline range, and just send an error message. this avoids crashing when loading sessions created with the broken crossfade constructor
git-svn-id: svn://localhost/ardour2/branches/3.0@10260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 21:24:06 +00:00
fb917cff45 remove absurd internal Crossfade constructor that confused region start and region position; set position explicitly in the two places that we use these crossfades; revert to the assert that caught this crazy error
git-svn-id: svn://localhost/ardour2/branches/3.0@10259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 21:17:25 +00:00
00ddd099ed obey monitor=disk when recording also; remove debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@10258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 19:20:44 +00:00
533045aea3 fix an aggressive assert that crashes out when reading the wrong regions ... why are we reading the wrong regions?
git-svn-id: svn://localhost/ardour2/branches/3.0@10257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 19:20:22 +00:00
3764eedca0 add initial implementation of explicit monitor (input|disk) control. some behaviour to be worked out, still
git-svn-id: svn://localhost/ardour2/branches/3.0@10256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 18:50:29 +00:00
dbcef630d0 include abstract_ui.cc in mackie source to actually instantiate the AbstractUI template
git-svn-id: svn://localhost/ardour2/branches/3.0@10251 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:56:21 +00:00
93177f4670 make mackie control header include abstract_ui.h (might help compile/link issue on OS X)
git-svn-id: svn://localhost/ardour2/branches/3.0@10250 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:44:46 +00:00
cb4ae53ff7 fix minor typo
git-svn-id: svn://localhost/ardour2/branches/3.0@10249 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:44:04 +00:00
d25ef5d2fd add (commented) new version of fit-to-pixels function, from Company on #gtk+
git-svn-id: svn://localhost/ardour2/branches/3.0@10248 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-20 11:43:48 +00:00
0bc8832e20 Trim include tree.
git-svn-id: svn://localhost/ardour2/branches/3.0@10244 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 21:53:09 +00:00
f1928b85bb add AU parameter listening stuff from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@10242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 20:31:00 +00:00
3a109f797d debugging with thorwil: don't redirect JACK msgs via ardour stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@10241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19 19:51:52 +00:00