summaryrefslogtreecommitdiff
path: root/libs/ardour
AgeCommit message (Collapse)Author
2015-09-16Add ardour/types.h to ardour/parameter_descriptor.h for AutomationTypeTim Mayberry
2015-09-16fix DSP load bounds 0..1 and add unbound APIRobin Gareus
2015-09-16Add test for DSPLoadCalculator to libardour testsTim Mayberry
2015-09-16Add DSPLoadCalculator::set_max_time() to set max time based on samplerate ↵Tim Mayberry
and period size
2015-09-16Move implementation for DSPLoadCalculator back into headerTim Mayberry
It can be inline now that it is much simpler
2015-09-16Use same algorithm as CA and ALSA backends in DSPLoadCalculationTim Mayberry
Stop using an averaging of the values until we can establish whether it is really necessary.
2015-09-16Add check for invalid timer values from the DummyBackendTim Mayberry
Needed for systems where the Windows QPC timer returns erratic values
2015-09-16Change types in DSPLoadCalculator to signed integer after change in ↵Tim Mayberry
utils::get_microsecond
2015-09-15move speed quietning code into Delivery, where it belongs.Paul Davis
Note: I find the -12dB reduction too much of a reduction.
2015-09-15add an Amp to Delivery, remove it from Send, make use of this in various ↵Paul Davis
::run() methods Delivery::_amp now will handle monitor-related delicks assuming the Session::config.get_use_monitor_fades() is true.
2015-09-15prepare displaying peakfile queue-lenRobin Gareus
2015-09-15logic rearrangement to avoid unnecessary call to Route::monitoring_state() ↵Paul Davis
in instrument/generator tracks
2015-09-15NO-OP: comment clarificationPaul Davis
2015-09-15NO-OP: parenthesis and brace stylePaul Davis
2015-09-15only apply transport declicking if requested to do so (default is to do so)Paul Davis
2015-09-15add 2 new session properties related to implicit fades/gain rampsPaul Davis
2015-09-15use an explicit black list of route names that require numbering.Paul Davis
This replaces an attempt to check port names which fails for a number of reasons.
2015-09-15prepare peak-file cleanup/recreate.Robin Gareus
2015-09-15Remove ifstream / ofstream when accessing session template files (or ↵John Emmas
creating a new session from a template file) On Windows, the above classes don't support UTF-8 so let's get rid of them and use g_fopen / stringstream / fwrite() etc.
2015-09-13allow to run unit-test under wine from srcdir.Robin Gareus
2015-09-13fix mismatched delete/freeRobin Gareus
2015-09-13Fix typo in DSPLoadCalculator causing assertions on Windows debug buildsTim Mayberry
2015-09-12plug some memory leaks in libsRobin Gareus
2015-09-12remove cruftRobin Gareus
2015-09-11spelling error fixes (notably "overriden" => "overidden") from IOhannes m ↵Paul Davis
zmölnig
2015-09-11fail to create Monitor section if port-names are not uniqueRobin Gareus
We should still prevent a user from naming a route "Monitor", but since "Monitor" is a translatable string, this is an i18n safeguard. eg. - create a session with a mon-section and a track Монитор. - send the session to a friend in Russia.
2015-09-10queue disk buffer overwrite when playlist layering changes.Paul Davis
This is a first approximation. Doing this 100% efficiently is quite hard because it would require comparing the range currently in the disk buffer and the range impacted by the layer change. I suspect this will work fine for the foreseeable future
2015-09-10use PortManager::port_name_prefix_is_unique to check for new route namesPaul Davis
2015-09-10add PortManager::port_name_prefix_is_unique()Paul Davis
2015-09-10fix recent session loading.Robin Gareus
std::stringstream::operator<< calls strlen(), but the string in the temp buffer may not [yet] be NULL terminated.
2015-09-10when removing routes, don't do potentially expensive work once for each route.Paul Davis
We can update solo state and tell interested parties about the removal once the actual removal is done
2015-09-10fix deadlock when removing routes and using JACK1.Paul Davis
graph reorder callback needed an early exit if we were deleting routes, is all.
2015-09-10use FileSource::within_session() for peak-filesRobin Gareus
2015-09-10remove duplicate enum registrationPaul Davis
2015-09-10Make sure that the DSPLoadCalculator class is exportableJohn Emmas
2015-09-10Add support for newly introduced class ARDOUR::DSPLoadCalculator (when ↵John Emmas
building with MSVC)
2015-09-10Add DSPLoadCalculator class to libardourTim Mayberry
This is similar to the class in the PortaudioBackend but uses an average of the values if raw load is under 80%
2015-09-10allow LV2 plugins to query current block-size.Robin Gareus
This is akin to VST2's audioMasterGetBlockSize. It returns the current nominal block size (think jack-buffersize). It's not the only block size that may be used when calling run(), it's just the normal one. The actual block sizes used may be larger or smaller and may vary between successive calls of run(). This change became neccesary after 53e969e9. Some plugins expected maxBlockLength to be the /current/ buffer-size and not all-time maxiumum. Those plugins can now use nominalBlockLength.
2015-09-10rework peakfile handling:Robin Gareus
- copy old peak-files to new (do not require re-calc) - keep old peak-files (for now, backwards compat) - fix cleanup-sources to remove *new* peak-file - include channel-number in hash (like it was done before) see also 624f76b TODO: add Session > Cleanup > remove/re-create peaks
2015-09-10remove Ardour broken peak-file supportRobin Gareus
Ardour-2.0 put peak-files in a "broken" location for several months. Since then Ardour renamed those files. No more. When loading ancient sessions peak-files are now re-created (in the background).
2015-09-08RF64, RF64 (WAV) and MBWF native file header formatsPaul Davis
2015-09-08new enums required for RF64 => RIFF and MBWF supportPaul Davis
2015-09-08Replaced broken code in recent_sessions.ccGuy Sherman
The original broken code was intended to stop using ifstream and ofstream to open files, but it used a very old MSVCism to open streams from FILE*. In the case for reading, this patch replaces that code by using standard c file manipulation to read the data into a stringstream, and then it uses the existing stream-based code to read from there. Similarly the ofstream in the code for writing the recent files list is replaced by a stringstream, and then a c-string is extracted from it and written using standard c file manipulation. Also tweaked a couple of typos from rgareus :)
2015-09-08Use glib to open our 'recent file' list, rather than opening directly with ↵John Emmas
ifstream / ofstream (on Windows, ifstream & ofstream don't support UTF8)
2015-09-07fix some more uninitialized varsRobin Gareus
2015-09-06libardour: initialize some uninitialized vars..Robin Gareus
2015-09-06terminate peak-file creation on session-closeRobin Gareus
2015-09-05create peak files in background when loading sessionRobin Gareus
2015-09-05Add a newly introduced source to our MSVC project (libardour)John Emmas
2015-09-05provide details about session-creation failure.Robin Gareus