summaryrefslogtreecommitdiff
path: root/libs/ardour
AgeCommit message (Collapse)Author
2014-12-02Fix lost MIDI events due to broken range check.David Robillard
2014-12-01Fix automation write/touch.David Robillard
2014-12-01Replace half-baked param metadata with descriptor.David Robillard
Among other things, this means that automation controls/lists have the actual min/max/normal/toggled of parameters, and not those inferred from the Parameter ID, which is not correct for things like plugin parameters. Pushing things down to the Evoral::ParmeterDescriptor may be useful in the future to have lists do smarter things based on parameter range, but currently I have just pushed down the above-mentioned currently used attributes.
2014-12-01Make it compile with C++11 support.Julien de Kozak
Reference : https://bugs.webkit.org/show_bug.cgi?id=59249
2014-12-01Comments in various call-sites of coverage()Colin Fletcher
Comments in various call sites of Evoral::coverage() marking things I think are dubious (with XXX). Also straightened up the alignment of some ASCII art in libs/ardour/diskstream.cc
2014-11-30Remove braindead Parameter inheritance abuse.David Robillard
2014-11-30Replace thinning static state with parameter.David Robillard
2014-11-30Trim the include tree.David Robillard
2014-11-30Move EventRingBuffer to libardour.David Robillard
This is not used anywhere in Evoral and is just a wrapper around the PBD RingBuffer anyway. Towards a (once again?) independently buildable/testable Evoral and fewer cross-dependencies.
2014-11-30Add missing namespace qualifiers.David Robillard
2014-11-30Clean up state tracking of raw MIDI.David Robillard
2014-11-30Save mute automation state.David Robillard
2014-11-30use update_steps() instead of custom functionRobin Gareus
2014-11-30update_steps(), properly handle integer rangesRobin Gareus
2014-11-30fix ladpsa default value.Robin Gareus
because get_parameter_descriptor() is const, also wrap default_value() in a const function.
2014-11-30fix LV2 default port value.Robin Gareus
2014-11-29Fix write for boolean automation.David Robillard
2014-11-29change ownership of processor window-proxyRobin Gareus
fixes crashes: * If the Editor-Mixer shows a channel with a plugin that has been edited in the Mixer, double-clicking the plugin will try to bring up a 2nd instance of the plugin-UI. * When closing Ardour both the Mixer and the Editor-Mixer try to delete the underlying plugin, resulting in a double free.
2014-11-29Set discrete by default for boolean parameters.David Robillard
2014-11-29Somewhat working gain automation.David Robillard
This probably isn't correct in several ways, but it works more than it did, so I figure it's push worthy. Still not working: * Saving mute automation list * Dragged control points are not snapped to model restrictions (boolean, in this case, but general problem) * Line goes funny if you record mute automation (as opposed to drawing it which works)
2014-11-28Set the toggled default metadata of parameters.David Robillard
This is so generic code looking at the Parameter for gain, solo, and rec-enable will get the correct value for toggled.
2014-11-26remove "port sources" management from MidiControlUI and Mackie support.Paul Davis
This was necessary due to a bug/design issue between Glibmm and Glib (see https://bugzilla.gnome.org/show_bug.cgi?id=561885) but the problem needs to be managed by the *creator* of the IOSource and that has now moved inside CrossThreadChannel.
2014-11-25Fix build of evoral testsColin Fletcher
Fix compile errors in libs/evoral/test/, by explicitly calling Evoral::MusicalTime::to_double() wherever a double value is required of a MusicalTime. Some of the double variables should probably really be made into MusicalTime ones instead, but I don't want to mess with this too much. takeFiveTest still fails for me after this, but a failing test is probably more informative in the long run than a test that won't even compile.
2014-11-25Remove dead code.David Robillard
2014-11-24amend c4533939b9Robin Gareus
2014-11-23hotfix windows-compilation (unfinished bfe49540b9)Robin Gareus
..at least it compiles and starts. Mackie support etc is probably still broken.
2014-11-23make debug message more usefulRobin Gareus
2014-11-23fix/silence various compiler warnings.Robin Gareus
* ifdef unused static functions * brackets around assignment and comparision * no return statement in function returning non-void * boost concept_checks.hpp unused-local-typedefs
2014-11-23use NULL not 0 for c-functions (even in c++ code)Robin Gareus
4.3 KBytes less compiler warnings.
2014-11-23remove use of CrossThreadChannel::selectable() to allow cross-platform ↵Paul Davis
implementation of CrossThreadChannel via Glib::IOSource
2014-11-22Fix quantization and other time-related ops.David Robillard
2014-11-22Wrap MusicalTime in a class.David Robillard
This lets us get a more explicit handle on time conversions, and is the main step towards using actual beat:tick time and getting away from floating point precision problems.
2014-11-22Fix const violation warnings in tempo.cc.David Robillard
2014-11-20Fix lost MIDI note offs and controllers.David Robillard
Fix initial read of discrete MIDI controllers. Fix spurious note offs when starting to play in the middle of a note. Faster search for initial event when cached iterator is invalid. So much for dropping the cached iterator. The iterator is responsible for handling note offs, so that doesn't work. This design means we have some stuck note issues at the source read level, but they should be taken care of by the state tracker anyway.
2014-11-20Reduce unnecessary non-const MIDI buffer access.David Robillard
2014-11-20Clean up some MIDI code.David Robillard
2014-11-20debug trace lost midi-messagesRobin Gareus
2014-11-19Fix dropped MIDI events, especially with record enabled.David Robillard
I am not precisely sure why the cached iterator was causing this problem, it shouldn't be invalidated, and the times make sense. It may be some lock related issue since the iterator holds a lock on the source. In any case, this cached iterator was just to avoid repeated linear search of the model, but since the model has a logarithmic search, instead just scrap all this problematic persistent state and search for the appropriate start time every read. No need to be careful about invalidating when anything changes.
2014-11-18Remove obviously dead/redundant code.David Robillard
2014-11-18Clean up funny code and initialize variables.David Robillard
2014-11-18Constrain variable scopen and avoid uninitialized values existing at all.David Robillard
Note: dead assignments trigger scan-build dead code warnings, which initializations do not.
2014-11-18Remove unused variable and redundant arithmetic.David Robillard
2014-11-18Gracefully avoid importing audio that somehow has 0 channels.David Robillard
2014-11-18Fix potential use of uninitialized value.David Robillard
2014-11-18Fix NULL pointer dereference on malformed Playlist XML.David Robillard
2014-11-18Avoid potential division by zero.David Robillard
2014-11-18Fix broken logic and possible NULL pointer dereference for Bundle XML.David Robillard
2014-11-18Fix incredibly unlikely NULL pointer dereference.David Robillard
2014-11-18Fix Region::verify_length() so it actually does something.David Robillard
2014-11-18synchronize preferences and monitor-sectionRobin Gareus