13
0
Commit Graph

18378 Commits

Author SHA1 Message Date
3a86b386fa fadeport: restructure button info actions to allow modifiers (shift, rewind, stop) and set up undo and shift-undo (redo) 2015-11-24 22:32:40 -05:00
7c8cc3cfa9 give the faderport its own thread and event loop, rather than riding on the back of the MIDI UI thread in libardour 2015-11-24 21:41:44 -05:00
8765359db2 faderport: after connecting, turn off all lights, then party with them, then turn them all off 2015-11-24 21:10:22 -05:00
84ebad120e add some faderport infrastructure for button handling, and bind up the transport functions to their obvious methods 2015-11-24 21:02:18 -05:00
9106512000 namespace and filename cleanup 2015-11-24 20:12:12 -05:00
71520c7432 Prevent crash at session-close when analysing.
The Analyser only holds a weak-pointer the the Source,
session-destruction frees the actual Source, which is fatal for any
ongoing audio analysis.


This fix simply waits for the current ongoing analysis to complete,
ideally TransientDetector::run, EBUr128Analysis::run, OnsetDetector::run
and AudioAnalyser::analyse could be interrupted.

Alternate option: cancel the Analyser::work thread (and re-create with
the every session).
2015-11-25 00:56:05 +01:00
ff62cec27d remove debugging output 2015-11-24 18:20:24 -05:00
b280301a65 create data structure to handle the fact that faderport firmware 1.38 uses different button IDs for input and output (!!!) 2015-11-24 18:20:07 -05:00
a15cf9f0b3 get faderport i/o working, basics of identifying control activity 2015-11-24 18:00:11 -05:00
2f1cdd3ffe rough-in for faderport protocol backend 2015-11-24 14:18:14 -06:00
bfe92c5b4f prevent concurrent peak-file init.
When embedding external files. the same file is queued twice for peak-file
generation. Since there are two  peak_thread_work threas in SourceFactory,
this can lead to inconsistent/missing peaks.


TODO: fix the actual cause, duplicate call to  setup_peakfile():

#0  ARDOUR::SourceFactory::setup_peakfile (s=..., async=true) at ../libs/ardour/source_factory.cc:116
#1  0x00007ffff6c2552f in ARDOUR::SourceFactory::createExternal (type=..., s=..., path="/tmp/CB_bass_Track08.wav", chn=0, flags=(unknown: 0), announce=true, defer_peaks=true)
    at ../libs/ardour/source_factory.cc:254
#2  0x0000000000886f50 in Editor::embed_sndfiles (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, multifile=false, check_sample_rate=@0x7fffffffc2df: true,
        disposition=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack, pos=@0x7fffffffc458: -1, target_regions=1, target_tracks=-1, track=..., instrument=...)
    at ../gtk2_ardour/editor_audio_import.cc:630
#3  0x0000000000885c7c in Editor::do_embed (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, import_as=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack,
        pos=@0x7fffffffc458: -1, instrument=...) at ../gtk2_ardour/editor_audio_import.cc:414
#4  0x0000000000e93aeb in SoundFileOmega::do_something (this=0x490f530, action=-5) at ../gtk2_ardour/sfdb_ui.cc:1983



#0  ARDOUR::SourceFactory::setup_peakfile (s=..., async=true) at ../libs/ardour/source_factory.cc:116
#1  0x0000000000888954 in Editor::add_sources (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, sources=std::vector of length 1, capacity 1 = {...},
        pos=@0x7fffffffc458: 0, disposition=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack, target_regions=1, target_tracks=-1, track=..., instrument=...)
    at ../gtk2_ardour/editor_audio_import.cc:883
#2  0x0000000000887131 in Editor::embed_sndfiles (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, multifile=false, check_sample_rate=@0x7fffffffc2df: true,
        disposition=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack, pos=@0x7fffffffc458: 0, target_regions=1, target_tracks=-1, track=..., instrument=...)
    at ../gtk2_ardour/editor_audio_import.cc:653
#3  0x0000000000885c7c in Editor::do_embed (this=0x3810340, paths=std::vector of length 1, capacity 1 = {...}, import_as=Editing::ImportDistinctFiles, mode=Editing::ImportAsTrack,
        pos=@0x7fffffffc458: 0, instrument=...) at ../gtk2_ardour/editor_audio_import.cc:414
#4  0x0000000000e93aeb in SoundFileOmega::do_something (this=0x490f530, action=-5) at ../gtk2_ardour/sfdb_ui.cc:1983
2015-11-24 18:58:11 +01:00
6d08797297 update configure time tests and code to use libsndfile 1.0.26's version of the R64 auto-downgrade-to-WAV code 2015-11-24 08:45:10 -05:00
51f58eb977 git ignore appdata translation(s) 2015-11-23 22:52:47 +01:00
911830726e prefer recently used states. 2015-11-23 22:45:16 +01:00
b754c4341e restore last used driver+devices for a given backend. 2015-11-23 22:45:16 +01:00
3c9b71b50e allow use of (N)RPN messages in generic MIDI binding maps (UNTESTED) 2015-11-23 12:27:51 -05:00
3095cbc4f9 more corrections for libmidi++ (N)RPN API 2015-11-23 12:27:51 -05:00
9d46da4e6f keep track of meter visibility - fixes #6685 2015-11-23 18:11:24 +01:00
5f7784e4f2 change API for libmidi++ RPN-related signals to be more useful 2015-11-23 11:49:08 -05:00
14fe7a0ae8 add (N)RPN handling to libmidi++ 2015-11-23 10:44:40 -05:00
203bc9b87e Merge branch 'trebmuh-patch-1' 2015-11-23 08:44:28 -05:00
trebmuh
d36346eb8c Update fr.po
one more fix
2015-11-23 08:44:18 -05:00
trebmuh
0f233a86d1 Update fr.po
+1 small fix
2015-11-23 08:44:18 -05:00
trebmuh
b4c42266d5 Update fr.po
all right now
2015-11-23 08:44:18 -05:00
trebmuh
a282e6a796 Update fr.po
French updates.
2015-11-23 08:44:17 -05:00
5a96eb3dce Merge branch 'nphilipp-master--build-fix' 2015-11-23 08:43:32 -05:00
Nils Philippsen
e25ddc39f8 make copies of global lists before extending
Not doing so can make source or object files appear multiple times in
the list of files to be compiled or linked, e.g. when doing './waf build
install', subsequently leading to linker errors.
2015-11-23 08:43:19 -05:00
4d599b3da1 Merge branch 'nphilipp-master--nphilipp' 2015-11-23 08:42:23 -05:00
Nils Philippsen
85fe8e9fee AppData: do the right thing on './waf clean' 2015-11-23 13:49:41 +01:00
Nils Philippsen
1fd052ea64 AppData: Add German translation. 2015-11-22 15:32:07 +01:00
Nils Philippsen
3bb06f4607 Add project version to AppData file. 2015-11-22 15:32:07 +01:00
Nils Philippsen
82f3e6bc3c Implement translation of AppData file.
Use the ITS rules file from KDE for itstool:

https://websvn.kde.org/trunk/l10n-kf5/scripts/as-metainfo.its?revision=1395611&view=markup
2015-11-22 15:32:07 +01:00
Nils Philippsen
c3398784e7 Add an AppData file.
This file gets used by GNOME Software to present an application to users
so they can install it from a software repository.
2015-11-22 15:32:07 +01:00
0e3c2af69a cont'd 20262abe (GUI to keep all playlists) 2015-11-21 22:45:43 +01:00
8a26e561c5 cont'd 20262abe (keep all playlists) 2015-11-21 22:45:26 +01:00
c0e05f7306 GUI support for "Delete All Unused" playlists. 2015-11-21 21:12:17 +01:00
20262abe7f prepare "delete all playlists" cleanup option 2015-11-21 21:11:45 +01:00
778e656bd7 update editor-mixer frozen state - fixes #6689 2015-11-21 19:47:36 +01:00
65d3f6523f fix playlist refcount on track un-freeze. 2015-11-21 18:36:05 +01:00
6b79bd5e42 remove cruft 2015-11-21 11:09:51 +01:00
bf3379e945 add mixbus profile checks to prefs panel, to simplify future merges 2015-11-20 16:04:43 -06:00
619727ef73 prevent deletion of playlists on frozen tracks:
bug:
1) freeze a track
2) Session Cleanup > Cleanup unused sources
2a) confirm playlist deletion
3) quit, reload ->  track is no longer frozen
  because _freeze_record.playlist is missing.
  session is in an odd state.
2015-11-20 22:58:00 +01:00
602839ffea use platform-specific modifier name for tooltip 2015-11-20 15:24:47 -06:00
5fbb5f0566 Improve the layout of Preferences widgets:
Grouped "checkbox" preferences together, reducing visual clutter.

Some widget settings affected the visibility/sensitivity of other widgets.
In some cases they were not adjacent; this has been fixed.

Added some additional grouping headers.
2015-11-20 13:08:08 -06:00
180cf13675 use dedicated parameter for plugin bundling 2015-11-20 17:56:03 +01:00
0c0e5edfc1 refine video-export notice, incl license info. 2015-11-20 17:56:03 +01:00
ff1f4e94fe add Yamaha KX25 midi-map from Gerard Aberkrom 2015-11-20 11:37:42 +01:00
7923a0e679 immediately show plugin GUI if only one plugin is instantiated 2015-11-20 11:14:36 +01:00
6851e5a53e session-load: default to most-recently-used snapshot 2015-11-20 03:22:41 +01:00
4c04e8028a add API to read snapshot name from instant.xml 2015-11-20 03:22:41 +01:00