summaryrefslogtreecommitdiff
path: root/libs/ardour/audioengine.cc
AgeCommit message (Collapse)Author
2010-01-21use correct number of buffers when setting up data for an AudioUnit pluginPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6530 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12use "weak" attribute rather than "weak_import"Paul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-12add run-time tests for weak-linked symbols from JACK (e.g. functions added ↵Paul Davis
to the API since 0.116.2) so that we can avoid using them if running on a platform with an older version of JACK git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-11better/correct AU transport state callback ; debug info for AU I/O configsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6063 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-11permit compilation even without unreleased versions of JACKPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-11fix scons tests for various JACK functions; use jack_on_info_shutdown() if ↵Paul Davis
its available at compile time git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6061 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-06deep, somewhat subtle changes for transport control. Everything should use ↵Paul Davis
Session::request_stop(), which nows takes an additional argument indicating whether or not to clear play range/loop state. UI threads will generally do so, other things, like slave sync objects, generally will not. also fixed stupid delay on exit, caused by unconditional usleep (2.5 seconds) ... git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14robustify AudioEngine::get_nth_physical_audio() and cleanup related ↵Paul Davis
functions just a little git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5772 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-07make reconnect to JACK work, after the _priv_jack fixes were added recentlyPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5753 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01merge 5674:5682 and 5689-5694 from mixbus branchPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5695 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-06add NO translator name and remove debugging output line from audioengine.ccPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29catch jack shutdown (from server) and handle it better then we used to in ↵Paul Davis
terms of preventing things from believing that we are still connected git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5006 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-14EXPERIMENTAL! NEEDS TESTING! remove "offset" from almost everything in the ↵Paul Davis
process callback tree git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4979 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-26provide more accurate diagnostics from ↵Paul Davis
AudioEngine::port_registration_failure() and use them git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-24VST omnibus commit edition: use wine_pthread_create() everywhere instead of ↵Paul Davis
pthread_create; properly handle events when editor windows are closed, thus avoiding deadlock when deleting a VST plugin; actually delete plugins (of any kind) when requested to do so and there is an editor - this was a bug that has been around for quite a long time in 2.X; some extensions to the vestige header that might be legally dubious git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19working VST support with VeSTige header and new FST codePaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-08minor cleanup of audioengine.ccPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-06wrap PBD::Thread... signals in a mutex to avoid crashing as multiple threads ↵Paul Davis
call it simultaneously; increase FUDGE distance for GTK/X11 when sizing comboboxselectors in editor git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-08fix for bad sync with other JACK transport-aware clients (thanks to torben ↵Paul Davis
for discovering the problem and suggesting the best fix) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-25stop resetting _jack to zero to avoid crashing stupidlyPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3647 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-23various minor fixes for crashes reported by nowhiskeyPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-02don't double-call JackStartFreewheeling if we're already freewheelingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-03rename menu items for monitoring options, and make the one based on JACK ↵Paul Davis
insensitive if there are no JACK ports capable of being monitored in that way git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3209 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-23fix up meter thread management when JACK client starts/stops/is halted ; put ↵Paul Davis
focus in plugin search entry when plugin selector is shown ; add WINDOWS_KEY option to gtk2_ardour/SConscript, controlling what X modifier is used for LEVEL4 modifier/bindings ; fix up Keyboard object to properly support LEVEL4 bindings ; fix Playlist::partition_internal() to avoid acting on regions that should not be operated on given the range provided ; fix up more stuff relating to get_regions_for(), including cut/delete ops on edit range vs. regions git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3115 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-13lots more BootMessagesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3050 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-01large chunks of code to deal with pre-analysis of audio; transient/perconset ↵Paul Davis
data used for new tab-to-transient; all ArdourDialogs push the splash screen out of the way; try to keep verbose canvas cursor within the editor canvas visible area; fix template use from NSD git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-18permit OSX native package without JACK; prevent excessive track name lengths ↵Paul Davis
from messing up JACK port names; splash screen tweaks for OS X; new region gain control operations ; work on AU plugin GUIs (totally incomplete); don't needlessly create prompters in a barcontroller (create on demand) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-07merge keybindings/menus from SAE; report duplicate port errors during ↵Paul Davis
session loading more usefully; do not do disk i/o from inactive tracks (related: move Route::_active to IO::_active git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-10AU support, plus changes in Plugin to make unique_id a stringPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2754 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-07deep, deep fix for what do if we can't run process() because of work in ↵Paul Davis
other threads; may stop crashes in TAP Echo and other plugins, not to mention other nonsense git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2750 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09fix egregious widespread bug now that JACK has physical MIDI ports; make ↵Paul Davis
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-05optionally tie together editor+mixer display orders; provide GUI control for ↵Paul Davis
timecode-is-synced; make Ctrl-w close any dialog git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-27make sure we do not leave pending session state around as we shutdownPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2353 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-15basic startup changes to enable the engine control stuff to work; a little ↵Paul Davis
ARDOUR_SAE work git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-27first pass at no close/open/new when disconnected from JACK, including ↵Paul Davis
noting that JACK is disconnected from the shutdown callback git-svn-id: svn://localhost/ardour2/trunk@1757 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-18fix dangling jack_client_t* in JACK_Slave when disconnecting+reconnecting to ↵Paul Davis
JACK git-svn-id: svn://localhost/ardour2/trunk@1727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-19remove debug output from last commitPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-19kill glib-induced abort caused by asymmetric lock/unlock of diskstream state ↵Paul Davis
lock git-svn-id: svn://localhost/ardour2/trunk@1627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-03-02Fix for compiler warnings and errors.Taybin Rutkin
git-svn-id: svn://localhost/ardour2/trunk@1547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-27fix for build issue on Mandriva, #1180 ; remove stacktrace output when JACK ↵Paul Davis
freewheeling is turned off git-svn-id: svn://localhost/ardour2/trunk@1525 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-22remove all lines to avoid recompiles after commitsPaul Davis
git-svn-id: svn://localhost/ardour2/trunk@1489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-31remove ardour_message.{cc,h}; JACK latency menu now shows correct settings ↵Paul Davis
at startup and changes are handled correctly; export range markers doesn't start with /path/to/export.wav, just /path/to; hopefully improve ruler scrolling a little; fixed up short_path() implementation ; fix for export unsetting JACK freewheel too soon ; use ISO 8061 timestamps for snapshot default names git-svn-id: svn://localhost/ardour2/trunk@1400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-10Reduced allocated stack sizes. Trims about 13MB of memory consumption.David Robillard
git-svn-id: svn://localhost/ardour2/trunk@1293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-03massive changes to clean up what happens during session destruction when an ↵Paul Davis
exception is thrown git-svn-id: svn://localhost/ardour2/trunk@1261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-02patches from Stephane Letz for JACK, and Nimal Ratnayake for play range and ↵Paul Davis
play region git-svn-id: svn://localhost/ardour2/trunk@1260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-19save keybindings to file used at startup; allow keybindings file to be ↵Paul Davis
cmdline-specified; remove some GTK2FIX comments; fix feedback based on john anderson's patch; apply scons patches; fix crash when taking MIDI ports online+offline; try to prevent aborts when shutting down due to metering thread; start work on reconstructing GlobalFOOCommand commands; use ftruncate to hint at peakfile preallocation to reduce fragmentation git-svn-id: svn://localhost/ardour2/trunk@1223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-12-15write session file to alternate name before, then rename; auditioner ↵Paul Davis
defaults to first 2 physical outputs; engine started before loading session, always; clean up handling off input connections and so forth during startup (faster! a bitcd ..); notice new locates while doing older ones; stop engine at shutdown first, not later git-svn-id: svn://localhost/ardour2/trunk@1214 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-12fixes for meter thread using free'd member of AudioEngine, audiostreamview ↵Paul Davis
accessing deleted crossfades, and mute button now has sensible text color when active git-svn-id: svn://localhost/ardour2/trunk@982 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-10-09Give a different error message when AudioEngine::connect() tries to make Sampo Savolainen
an connection which already exists. Tempo bars will now stretch from top to bottom via a hackish but approved scheme. Disconnect route inputs and outputs when removing them from the session. git-svn-id: svn://localhost/ardour2/trunk@961 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-09-28fixes for destructive track offsets of various kinds; move from ↵Paul Davis
jack_nframes_t -> nframes_t git-svn-id: svn://localhost/ardour2/trunk@933 d708f5d6-7413-0410-9779-e7cbd77b26cf