summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-23Improve getting a Bundle total channel countJulien "_FrnchFrgg_" RIVAUD
|Bundle::nchannels()| creates a ChanCount on demand, by iterating over the |_channel| member variable. The sum of all |nchannels().n(t)| over all non-NIL DataTypes |t| is thus equal to |_channel.size()|. Consequently, calling |nchannels().n_total()| is a convoluted (and slow) way of getting |_channel.size()|. Add a method |Bundle::n_total()| that directly returns the latter.
2017-08-23Populate strips output menus with a more user-friendly heuristicJulien "_FrnchFrgg_" RIVAUD
Ensure the master bus is the first proposed bundle if it is present. Also propose internal route inputs before physical outs or other software via JACK. Last, but not least, add to the menu not only exactly matching bundles, but also bundles that have the same number of channels than the route output when considering only the DataType we think the user wants to use. This covers both the case of a MIDI+STEREO instrument track connecting to master, and the case of a STEREO track connecting to a MIDI+STEREO vocoder track.
2017-08-23Improve maybe_add_bundle_to_output_menuJulien "_FrnchFrgg_" RIVAUD
Avoid proposing the monitor section in the list if the current route is not the master bus. Also allow the caller to pass a DataType as argument to allow partial bundle match on that datatype only.
2017-08-23Use port enumeration instead of manual indexed loopJulien "_FrnchFrgg_" RIVAUD
2017-08-23Generalise heuristic for user-intended main type of a route's IOJulien "_FrnchFrgg_" RIVAUD
The heuristic currently used to display port connections in a compact user-friendly way only considers Audio and MIDI data types. Replace it by a better heuristic that does essentially the same thing with all DataTypes, assuming they are ordered by likeliness of usage. Currently the result is the same since there are only two DataTypes.
2017-08-23Add a method to get the first DataTypeJulien "_FrnchFrgg_" RIVAUD
Also put a comment about the ordering of DataTypes.
2017-08-23Remove never changing and/or unused argumentsJulien "_FrnchFrgg_" RIVAUD
2017-08-23Use DataType iteration instead of assuming integersJulien "_FrnchFrgg_" RIVAUD
2017-08-23Fix Route-template file suffixRobin Gareus
2017-08-23Example Stereo to 2 x Mono track Lua scriptRobin Gareus
2017-08-23Use new separate_by_channel APIRobin Gareus
2017-08-23Update "separate_by_channel" API & add Lua bindingsRobin Gareus
This breaks compilation (GUI)
2017-08-23Track Templates: remove uninteresting script.Ben Loftis
2017-08-23Use literal for compatibilityRobin Gareus
2017-08-23backends: jack: display playback only devicesStefan Müller-Klieser
When starting ardour using the jack backend, playback only devices currently do not get displayed. Mixing and Mastering only workspaces with e.g. a single USB Dac should be a common use case. Take this use case into account by adding them to the device list. Tested on Linux with jack-alsa.
2017-08-22Track Templates: Add verbose descriptions for the built-in track types.Ben Loftis
2017-08-22Track templates: clean-up widget sensitivity based on selection.Ben Loftis
2017-08-22RouteDialog: implicit "Add (+close)" on <enter> or double-clickRobin Gareus
2017-08-22Reset RouteDialog: name edited by-userRobin Gareus
* after each "Add" operation * when cleaning the name field
2017-08-22Tweak RouteDialog bottom areaRobin Gareus
2017-08-22Track Templates: yet another layout tweak.Ben Loftis
2017-08-22Remove cruftRobin Gareus
2017-08-21OSC cue button up events should not be errors, fixedLen Ovens
2017-08-22Mark session dirty after applying MIDI transformRobin Gareus
2017-08-22MIDI Transform channel-count 1..16 (not 0..15)Robin Gareus
2017-08-22Add Lua bindings for ArdourUI's translate_order()Robin Gareus
e.g. calculate the route insert position: print (ArdourUI.translate_order (ArdourUI.InsertAt.BeforeSelection))
2017-08-22RouteDialog: retain prior type selectionRobin Gareus
2017-08-22remove debug outputRobin Gareus
2017-08-22RouteDialog: Move built-in types into template list experimentRobin Gareus
2017-08-21OSC: /cue/enable feedback not changing fixedLen Ovens
2017-08-21Fix spacing in french usage stringsJulien "_FrnchFrgg_" RIVAUD
2017-08-21OSC: aux bus detection fixed for mixbusLen Ovens
2017-08-21Catch Lua exception when scanning scriptsRobin Gareus
2017-08-21prh: Small fix to /cue/send/enable feedback stringPaul Hedderly
2017-08-21AddRouteDialog: Indicate Type: templateRobin Gareus
2017-08-21Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour)John Emmas
2017-08-20Fix some GUI side XML node mem-leaksRobin Gareus
2017-08-20Fix a tiny memory leakRobin Gareus
2017-08-20Strip trailing whitespace in template descriptionsJohannes Mueller
2017-08-20TemplateDialog: Lable the RESPONSE_OK button "Done" rather than "Ok"Johannes Mueller
Labeling it "Ok" would imply that by clicking it, descriptions would be saved without further interaction. If we did so, we would also need to add a cancel-button or handle simple closing of the dialog window appropriately.
2017-08-20TemplateDialog tweaksJohannes Mueller
* don't ask whether to save the description when renaming the template * sane behavior when a template is deleted
2017-08-20Clear and deactivate description editor widget when nothing is selectedJohannes Mueller
2017-08-20TemplateDialog: keep private things private and header files simpleJohannes Mueller
2017-08-20Make literals in libs/ardour/template_utils.cc translatableJohannes Mueller
2017-08-20Ask user whether to save or discard unsaved template descriptionsJohannes Mueller
2017-08-20Remove the template description XMLNode before saving the templateJohannes Mueller
... to avoid that the new template description is concatenated to the old one.
2017-08-20Extract the route template descriptionsJohannes Mueller
... and put them into the template info list.
2017-08-20Pass session description or route comment as default descriptionJohannes Mueller
... to SaveTemplateDialog
2017-08-20Use const wherever you canJohannes Mueller
2017-08-20Name tweak (more consistent with other code)Johannes Mueller