summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2017-05-26Use string concatenation and PBD::to_string in EventTypeMap::to_symbol()Tim Mayberry
Avoid using PBD::string_compose for serialization as correct behaviour depends on the setting of the global C++ locale.
2017-05-26Remove normalization of property names from libpbd xml codeTim Mayberry
It may have been OK to add this code temporarily at this low level, but as it was introduced in 2008, this change is made with the assumption that any Sessions that were affected have been re-saved since then with corrected property names and that "normalization" is no longer necessary. Timing results before changes: XMLTest::testPerfMediumXMLDocumentTiming Create : Count: 10 Min: 30375 Max: 48253 Total: 431727 Avg: 43172 (43 msecs) Write : Count: 10 Min: 42553 Max: 49163 Total: 453353 Avg: 45335 (45 msecs) Read : Count: 10 Min: 70307 Max: 75987 Total: 734923 Avg: 73492 (73 msecs) XMLTest::testPerfLargeXMLDocumentTiming Create : Count: 10 Min: 154486 Max: 307856 Total: 2678989 Avg: 267898 (267 msecs) Write : Count: 10 Min: 304273 Max: 343274 Total: 3169158 Avg: 316915 (316 msecs) Read : Count: 10 Min: 496920 Max: 541394 Total: 5260410 Avg: 526041 (526 msecs) Timing results after changes: XMLTest::testPerfMediumXMLDocumentTiming Create : Count: 10 Min: 21437 Max: 39749 Total: 348622 Avg: 34862 (34 msecs) Write : Count: 10 Min: 42320 Max: 49989 Total: 446135 Avg: 44613 (44 msecs) Read : Count: 10 Min: 63252 Max: 68389 Total: 660841 Avg: 66084 (66 msecs) XMLTest::testPerfLargeXMLDocumentTiming Create : Count: 10 Min: 113458 Max: 263225 Total: 2215595 Avg: 221559 (221 msecs) Write : Count: 10 Min: 305439 Max: 339986 Total: 3150697 Avg: 315069 (315 msecs) Read : Count: 10 Min: 447560 Max: 488121 Total: 4698903 Avg: 469890 (469 msecs)
2017-05-26Use correct property name in generic MIDI surfaceTim Mayberry
Fixes restoring the feedback interval property, but as the mutator/setter method doesn't seem to be used this change should have no affect.
2017-05-26Use correct names when setting MidiTrack propertiesTim Mayberry
These were changed in the XMLProperty ctor and they now match the names used in MidiTrack::set_state()
2017-05-25Always create a deep copy of MIDI regions when copying playlists.Robin Gareus
2017-05-25Implement basic AU parameter-printingRobin Gareus
(don't leave buf uninitialized)
2017-05-25Include ParameterDescriptor in read-only control outputRobin Gareus
2017-05-24OSC: fix return value for successful touchLen Ovens
2017-05-24OSC: Added lpf and hpf controls for freq,enable and slopeLen Ovens
2017-05-23OSC add feedback for extra comp and eq controlsLen Ovens
2017-05-23OSC - make /strip/list accept a parameter like everything elseLen Ovens
2017-05-23Remove old jack_utils.h header that was moved to the JACK backendTim Mayberry
Also remove a related test that has not been part of the unit tests since the move (years).
2017-05-23Sort tempo map after legacy sections have been assigned a pulsenick_m
2017-05-23Tempo sections with a BBT start XML node are never rampednick_m
2017-05-23Use braces in BasicUI::jump_by_bars()Tim Mayberry
2017-05-23Use braces in BasicUI::jump_by_seconds()Tim Mayberry
2017-05-23Use correct variable in BasicUI::jump_by_secondsTim Mayberry
2017-05-23Fix failure to laod old tempo mapsnick_m
I suspect this happened after an api change. Now, just use the position pair instead of a whole new variable.
2017-05-20OSC: Further fixes so multiple controls can touch at once.Len Ovens
2017-05-20OSC: fix c++98 mistakeLen Ovens
2017-05-20Fix libhid compile with /recent/ libc (GNU_SOURCE)Robin Gareus
- strtok_r - strdup - wcsdup
2017-05-19OSC: Catch case of surface sending fader move before touchLen Ovens
2017-05-18OSC: Add fake timeout based touchLen Ovens
2017-05-17MCP: Fix issue with strip "select" buttons that stayed stuck on.Ben Loftis
* Depending on individual strips to watch the selection property is prone to failure. * Stripable_selection_changed() is called when a selection operation is completed.
2017-05-17MCP: map the well-known EQ knobs more explicitly, not heuristically.Ben Loftis
2017-05-15OSC: Add /strip/fader/touchLen Ovens
2017-05-15remove unused variableLen Ovens
2017-05-15OSC: added automation name feedbackLen Ovens
2017-05-15OSC: combine two identical if() statementsLen Ovens
2017-05-15It might not be obvious why... but 'ARDOUR::ControlProtocol::name()' needs ↵John Emmas
to be a virtual function Basically, libardour is calling functions from libardour_cp and vice versa. For example, libardour needs 'ARDOUR::ControlProtocol::name()' whereas ardour_cp needs 'ARDOUR::Route::soloed()' and various others. Ordinarily, this would require each library to get built before the other one! :-( To get around this (in MSVC at least) one of the libraries must be forced to use late binding (e.g. by declaring its functions as 'virtual'). It looks like this is already being done for most of the other functions from 'ARDOUR::ControlProtocol', so let's do it for this function too...
2017-05-14Fix out-of-bounds waveform image rendering.5.9Robin Gareus
With large sample-rates and high-zoom-level the minimal request-size or at least 1/10sed can exceed the max image size supported by cairo. e.g. @192kSPS; 100ms = 19200 samples. * 1 sample/pixel, * 2 (left/right) = 38400px > 2^15px.
2017-05-14Add note name parser to convert to midi note numberNil Geisweiller
Supports i18n, is case and whitespace insensitive for more resilent parsing.
2017-05-14update german translationEdgar Aichinger
2017-05-14Sanitize "well-known" ctrl APIRobin Gareus
2017-05-13OSC: make /*/automation more generic so other controls can be easily addedLen Ovens
2017-05-13The #end should be #endifLen Ovens
2017-05-13More tweaks to FP8 layout for 32CBen Loftis
2017-05-13Fix copy+paste error for mb32c filter freq.Ben Loftis
2017-05-13Update FP8: new controllables, clarify 32C bell-shape labelsRobin Gareus
2017-05-13amend efc2660f, well-known stripable controls:Robin Gareus
* consistent hpf/lpf controllables (actually hi/lo bell in 32C) * HPT, LPF frequencies are exposed as EQ band * don't expose filter ctrl for mixbuses/master
2017-05-13Update Session::writable() during Session::save_as() when switching to copyTim Mayberry
Loading a read only Session then making a copy with Save As and switch was not allowing new Session to be saved as writable state was not updated. Resolves: #7352
2017-05-12change ControlProtocolManager protocol mutex into a RW lock.Paul Davis
Probably not gaining much in terms of contention, but there's really no reason to be using a mutex
2017-05-12don't actually use a method from libardourcp inside libardour; use a ↵Paul Davis
PBD::Signal to avoid linker issues
2017-05-12OSC: GUI label changeLen Ovens
2017-05-12OSC: Create new surface struct for ALL incoming messagesLen Ovens
2017-05-12change the way ControlProtocols (control surfaces) are notified and handle ↵Paul Davis
Stripable selection changes The Editor continues to notify them, but via a direct call to ControlProtocolManager, not a signal. The CP Manager calls the ControlProtocol static method to set up static data structures holding selection info for all surfaces and then notifies each surface/protocol that selection has changed.
2017-05-12MCP: Mixbus32C: Restore missing filter controls to the Dyn page.Ben Loftis
2017-05-12MCU: F-keys are reserved only for user-defined actions; no need for explicit ↵Ben Loftis
handling.
2017-05-12MCP: Momentarily light buttons when they are used to trigger a defined action.Ben Loftis
*This is mainly for F-keys *If a button is not assigned an action, it will not light, hopefully indicating to the user that it is unmapped.
2017-05-12Mackie control panel: display the profile name when any button action is ↵Ben Loftis
changed.