summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2019-07-04Use exit-status macros for compatibility 2/3Robin Gareus
2019-07-02Mixbus uses K14 (not K20) master meter by default (see also 297ed001d)Robin Gareus
2019-07-02Remove unused API -- there is no default backend.Robin Gareus
2019-07-02Mixbus/master is always using K20 by defaultRobin Gareus
This only affects the meter-bridge, toolbar and editor track-header (Mixbus' mixer is always using DPM, which is always enabled).
2019-06-24LV2 support is not optional since 04ccd328dcRobin Gareus
2019-06-24Update to upstream ptformat 777686b (remove strndup && cleanup)Damien Zammit
2019-06-24Revert "Huh?? I can't believe that MSVC doesn't support strndup() !!!"Damien Zammit
This reverts commit 1a7a23a5cea844431a85fa49933b5ea345bf3896.
2019-06-23Huh?? I can't believe that MSVC doesn't support strndup() !!!John Emmas
2019-06-22Update references to ptfformat -> ptformat && fix api callsDamien Zammit
2019-06-22ptformat: Update lib from legacy parser to new parser 6240b87Damien Zammit
2019-06-16Some more frame -> sample changes (luabindings.cc)Johannes Mueller
2019-06-09Update Push2 level-meter display (use new API)Robin Gareus
The meter-type is now implicit set by route/meter-processor, common to all UIs.
2019-06-09Consolidate meter-type state and APIRobin Gareus
In theory different UIs can show different meter-types, so it can make sense to maintain the type in different places. MeterType is a bit-set and PeakMeter implementation provides for this. However, this is not being used, and the current implementation was rather fragmented, cross-connected signals to keep types in sync, allowed inconsistent meter-types in GUI and backend. MeterType is now kept by meter itself, however it is still saved/restored as part of the Route state. N.B. This change breaks the API, various methods have been renamed for consistency.
2019-06-05do not set MIDI CC values on locate if control/parameter is set to "Off"Paul Davis
2019-06-05NOOP: whitespace/newline tweakPaul Davis
2019-06-04Skip name-suffix for first ALSA sub-deviceRobin Gareus
This fixes an issue when a device has more than one playback sub-device, but only a single capture sub-device (or vice versa).
2019-06-04Fix async peak-meter resetRobin Gareus
2019-06-03Assume default plugin bussing is stereoRobin Gareus
This changes fan-out to prefer stereo tarcks unless specified otherwise by a plugin (LV2 port-groups, or AU busses)
2019-06-01List available ALSA sub-devicesRobin Gareus
Previously Ardour only listed the first audio sub-device in the for ALSA and JACK backend device selection dialog.
2019-05-30Potential fix for a race.Johannes Mueller
Do proper bounds checks and force the use of operator[] () const
2019-05-30Make ContourdesignControlProtocol::_button_actions private again ...Johannes Mueller
... and add proper bounds checks.
2019-05-26Fix a -Wmaybe-uninitialized (disk-reader, no audio)Robin Gareus
2019-05-26Shuttle Surface: fix linking .dllRobin Gareus
For .dll, all references need to be defined at compile/link time (not runtime). ie. `ld -zdefs`
2019-05-25Shuttle Surface: request_factory and MSVC compatible structRobin Gareus
2019-05-25Shuttle Surface: Fix C++ style: use accessor/setter methodsRobin Gareus
This also fixes C++ compat: no forward declaration of friend classes (OSX compilation) and C++98 compat (enums are not classes e.g. ActiveState)
2019-05-25Add preference to hide LADSPA plugin if LV2 existsRobin Gareus
2019-05-25NO-OP: whitespaceRobin Gareus
2019-05-24Fix LADSPA author name (remove padding)Robin Gareus
2019-05-19Use ActionModel also in ContourDesign surfaceJohannes Mueller
2019-05-18Some frame -> sample changes in UCS2400Johannes Mueller
2019-05-18Add support for contourdesign ShuttlePRO v2 and ShuttleXpressJohannes Mueller
2019-05-18Add some options for surfaces to jump in the timelineJohannes Mueller
* ::jump_by_beats() * request transport to keep rolling after jump
2019-05-17Prefer dedicated c-pointer bindings (can be const)Robin Gareus
2019-05-17Fix std::list<hared_ptr<>> front/back methodsRobin Gareus
Shared pointer reference accessors can't be const
2019-05-13Fix some actions that moved from Common to Editor.Ben Loftis
2019-05-12Make the configuration penalty subtler about inputsJulien "_FrnchFrgg_" RIVAUD
Instead of uniformly demote configurations with a non-matching audio input count (using a penalty offset of 1000), also grade the impreciseness of the configuration so that those with the nearest input count are preferred. As for outputs, give a slightly higher handicap to configuration with too many inputs with regard to the actual audio inputs that can be fed to the plugin. POLICY CHANGE: when only imprecise configurations are found the actually selected one can be different (better) than before this commit.
2019-05-12Remove ad-hoc handling of possible_in == 0Julien "_FrnchFrgg_" RIVAUD
Just make the code responsible for possible_in > 0 also handle possible_in == 0 since it nearly does the same thing. The only difference is that the possible_in == 0 case, by using FOUNDCFG(), acted as if possible_in was audio_in. The consolidated code uses FOUNDCFG_IMPRECISE which will add some penalty to the configurations where desired_in == possible_in != audio_in. There is thus a small POLICY CHANGE, but the selected configuration will stay the same unless a better matching configuration is available.
2019-05-12Enable overriding the configuration penaltyJulien "_FrnchFrgg_" RIVAUD
This relieves exact matches of the need to duplicate the bookeeping done by FOUNDCFG()
2019-05-12Merge input-imprecise pass into the main passJulien "_FrnchFrgg_" RIVAUD
Still no policy change, since when a configuration is chosen that would have belonged to the second pass, then its penalty will be increased by 1000 and it will be selected only as last recourse.
2019-05-12Introduce a macro for imprecise configurationsJulien "_FrnchFrgg_" RIVAUD
It enables only setting the imprecise audio channel count if the configuration is indeed selected.
2019-05-12Merge some cases to avoid duplicated logicJulien "_FrnchFrgg_" RIVAUD
Merge the cases in == -1 and in == -2 since those are both wildcards, almost symmetric in the AU spec, and handled completely symmetrically by the code here considering it accepts invalid or unspecified demands. Also merge the cases in > 0 and in < -2 since they are handled exactly the same as far as outputs are concerned. No policy change
2019-05-12Replace the exact_match logic by a negative penaltyJulien "_FrnchFrgg_" RIVAUD
Instead of doing an initial loop for detection of exact matches, then letting the following loop set \audio_out yet ignore its value, merge the two loops but give exact matches a negative penalty so that the \audio_out value they set won't change afterwards. No policy change.
2019-05-12Remove never-matching assertJulien "_FrnchFrgg_" RIVAUD
Since previous line just asserted that possible_in > 0, it is necessarily non-null and the test is always true.
2019-05-12Prefer int32_t to int for channel countsJulien "_FrnchFrgg_" RIVAUD
To match the actual type used by ChanCount. Keep the int type in the structure passed in by the Audio Unit, because we have no control over it.
2019-05-12Fix for #7755: initialize reverb and chorus of fluidsynth objectJohannes Mueller
The reverb and chorus states in the fluidsynth object need to be initialized to 0 (false) in accordance with the initial state of a-fluidsynth's v_port[...]. Otherwise they are not updated in the first run() and remain to fluidsynth's default state 1 (true) even though the plugin's state requires 0.
2019-05-10Fix ALSA MIDI device namingRobin Gareus
The backend will replace the information in the last bracket (IO) of the name with (In/Out) when creating pretty port-names from the device-name. -- see replace_name_io(). This fixes an issue with device-name number suffixes in brackets.
2019-05-09Generic-MIDI ctrl: tweak pitch-bend message behaviorRobin Gareus
Add support for smoothing, ignore message when controllers are not in sync to avoid discontinuous jumps. This is mainly useful for Mackie-like devices that use pitch-bend messages for faders. see also https://discourse.ardour.org/t/feature-lazy-sliders/100961
2019-05-08Notify custom UIs when designated LV2 BPM port changesRobin Gareus
2019-05-08Hide designated [lv2] BPM port from GUIRobin Gareus
2019-05-08Prepare for Ardour/ALSA multiple identical MIDI devicesRobin Gareus
The engine setup identifies devices by name (device list is a map<> with the device-name as key). To support multiple devices with the same name, the name needs to be unique. So far this is achieved by simply adding a number suffix starting with the 2nd device (this allows to re-use configurations). Ideally we'd use UUIDs or unique device IDs to handle this, and also somehow clarify which device is which...