13
0
Commit Graph

5295 Commits

Author SHA1 Message Date
23bec25bf5 Remove non-portable and unnused header includes 2013-07-11 11:34:37 -04:00
4be2176bd9 Revert "Remove non-portable and unnused header includes"
This reverts commit 7ef79d3f4b.
2013-07-11 11:23:41 -04:00
7ef79d3f4b Remove non-portable and unnused header includes 2013-07-11 11:19:57 -04:00
e842ae539a Fix portability of test and use temporary test 2013-07-11 11:12:39 -04:00
dc491cffdb Use common test function to create temporary session 2013-07-11 11:11:45 -04:00
d555b43f5b add new files from test changes by timbyr 2013-07-11 11:10:56 -04:00
d2ea18c4b6 theoretically: "Add new_test_output_dir to common libardour test" but actually features addition of new files, thus losing git history for these two which came from tim mayberry 2013-07-11 11:07:13 -04:00
4994073e93 Use test_search_path function in ardour test 2013-07-11 11:01:36 -04:00
060b381eb3 Add test_search_path function in libardour testsuite 2013-07-11 11:00:59 -04:00
bceab19201 Use test_search_path to find test data in xpath test 2013-07-11 10:59:30 -04:00
a2f5a8d9c0 Add test_search_path function in PBD testsuite 2013-07-11 10:58:35 -04:00
7a5118f403 Add --single-tests option to also build each libardour test as a separate program 2013-07-11 10:57:21 -04:00
83a92a0ea1 disable libardour unit tests that do not function correctly (for windows, at least) 2013-07-11 10:31:47 -04:00
ac34c5852b remove another instance of xmmintrin.h 2013-07-10 11:04:35 -04:00
9bdf0a5e79 remove unnecessary include of xmmintrin.h 2013-07-10 11:00:19 -04:00
0571e5d6ae Revert "show track-ID in mixer" and "...towards unique track numbers."
This reverts commits:
  ca54ea2b462869bfd9254a493d073ca1e9ad4b8e.
  9e87e058e26b87013e89ddf5d3b7358d50024d60.
2013-07-10 15:27:17 +02:00
833ab2ebbd remove unique track number from meterbridge 2013-07-10 15:27:16 +02:00
7a62d31056 Episode VI: Return of the ZeroDBline 2013-07-10 15:27:16 +02:00
656cc9a0ad Episode V: the gainfader line strikes back 2013-07-10 15:27:16 +02:00
251031e354 disable number display on meterbridge by default 2013-07-10 15:27:15 +02:00
ee97942165 use accurate log10 for meter (fast_log2 is unsuitable inaccurate)
fast_coefficient_to_dB() returns a lower bound value, unsuitable
to catch audio peaks. The difference to 20*log10 is as large as 0.4 dB!

The effective speedup of fast_log10 compared to log10f is marginal
(sweep of all 24bit values)

  i686 (1.6GHz Intel core):  2.36 [times faster]
  x86_64 (core2 2.4GHz):     1.63
  x86_64 (I3 2.80GHz):       2.03

the execution time of one log10f() averaged over a
sweep of all 24 bit values

  i686 (1.6GHz Intel core):  0.131 usec
  x86_64 (core2 2.4GHz):     0.033 usec
  x86_64 (I3 2.80GHz):       0.044 usec

PeakMeter::run() is called from dedicated non-rt, no harm done.
2013-07-10 15:27:15 +02:00
46c1e573c4 show track-ID in mixer 2013-07-10 15:27:15 +02:00
1699be7c98 number/name on meterbridge 2013-07-10 15:27:15 +02:00
24f2961cce ...towards unique track numbers. 2013-07-10 15:27:14 +02:00
4d49961c93 allow to include solo,mute buttons on meterbridge 2013-07-10 15:27:14 +02:00
6aecd192ce remove b0rked attempt at meter-thread regularity.
eventually fall-off should be calculated in the audio-thread, anyway
and this thread will be obsolete..
2013-07-10 15:27:14 +02:00
40bc6f5b83 Task Force Viking: operation green line 2013-07-10 15:27:14 +02:00
7f47c9c5ec fix RMS+Peak meter for MIDI-tracks 2013-07-10 15:27:14 +02:00
ffbc1c7a8b with RMS meters: use "peak indicator" as DPM 2013-07-10 15:27:13 +02:00
5dae93e5ea ignore state-changes during [meter] context-menu popup (gtkmm bug?) 2013-07-10 15:27:13 +02:00
09243a326a use digital max-peak with RMS meter 2013-07-10 15:27:13 +02:00
5de0aee287 share meter-type among meter instances. 2013-07-10 15:27:13 +02:00
58b325de31 prepare meter type unification 2013-07-10 15:27:13 +02:00
2277da6e6c test/fix - possible cause of meter-freezing.. 2013-07-10 15:27:13 +02:00
4a9e79e53f fix meterbridge metric display switch 2013-07-10 15:27:13 +02:00
3a8f5a9770 remember meter type with session 2013-07-10 15:27:13 +02:00
0710171d90 don't reset meter background/highlight on click. 2013-07-10 15:27:12 +02:00
bc1a093710 amend to 212d2ac5d (port add/remove signals)
fix deadlock when updating audio/midi connection matrix
during session-close or on exit.

(Note: this still can cause a crash if the route goes away
while the iterator in the connection-matrix still has an index
of it)
2013-07-10 15:27:12 +02:00
6e1781e5e3 experimental RMS-meter and peak-signal (vs peak-power) query 2013-07-10 15:27:12 +02:00
b2beb11c8d improve timing accuracy for meter-falloff calc. 2013-07-10 15:27:12 +02:00
03a510c3d7 prepare meter-widget for dual background color 2013-07-10 15:27:12 +02:00
c1f56d4d7c meter line-up and fall-off standard values & names 2013-07-10 15:27:11 +02:00
6d09070895 peak-indicator threshold configuration 2013-07-10 15:27:11 +02:00
62d5585e34 prepare meter configuration..
- rework metric/tick image cache invalidation
  - flush cache
  - send signal to queue redraws
  (TODO) selectively flush cache // cache per size, style
- add four common line up levels
2013-07-10 15:27:11 +02:00
da08f8b1c5 add options to show/hide master and midi tracks;; hide inactive tracks 2013-07-10 15:27:10 +02:00
9d0a3b9eaf fix [some] issues when adding/removing output ports 2013-07-10 15:27:10 +02:00
f801144472 less prominent meter shade 2013-07-10 15:27:09 +02:00
580cec03ad add shade gradient to meter 2013-07-10 15:27:08 +02:00
d4b1941796 fix meter gradient y-axis only 2013-07-10 15:27:08 +02:00
42ee64e950 midi meter updates.. 2013-07-10 15:27:08 +02:00
8a16e61b11 make all meter-colors configurable,.. 2013-07-10 15:27:07 +02:00
571b2d70e9 refactor level-meter widget: 5x2 stops meter colors 2013-07-10 15:27:07 +02:00
447e736139 remove b0rked horizontal meter code. 2013-07-10 15:27:07 +02:00
a07c50ad80 reduce peak-hold indicator to 2px height 2013-07-10 15:27:05 +02:00
a13bdf4153 meter rounded rectangle 2013-07-10 15:27:04 +02:00
3823ffc942 configurable meter background color 2013-07-10 15:27:04 +02:00
e4d754390e meter border 2013-07-10 15:27:04 +02:00
5b6fd190cb remove border around meter gradients, again. 2013-07-10 15:27:04 +02:00
fdbb0ef780 meter background gradient (hardcoded colors so far)
this is a quick test w/black borders only left+right
for Mr oofus to assess.
2013-07-10 15:27:03 +02:00
d6d27f10cb fastmeter: 1px padding left&right 2013-07-10 15:27:03 +02:00
c23a537b61 session property - include busses in meterbridge 2013-07-10 15:27:02 +02:00
ben
04eaf7b418 add lib/LV2 path akin to lib/surfaces, to allow bundling of LV2 plugins in an ardour release. My first attempt to push... 2013-07-10 07:31:25 -05:00
29108187ed fix metering when monitoring track input. (ran twice) 2013-07-07 04:16:54 +02:00
398839f6e1 reset meters when changing metering-point or ports 2013-07-05 10:44:09 +02:00
9a9f4276a0 Further Freesound import tweaks.
Make download of sound files multi-threaded. Each sound file download takes
place in its own thread, and has its own progress bar and cancel button,
which stack up from the bottom of the list of results.

Sound files download into a file with a '.part' suffix, which is then
renamed to the intended name on success.

Add a 'Similar' button, which searches Freesound for sounds similar to the
currently-selected sound in the results list.

Add a freesound-download-dir config variable to decide the location
of sound files downloaded from Freesound.

Move Windows-specific logic to replace '/'s with '\'s from
Mootcher::changeWorkingDir() to Mootcher::ensureWorkingDir(), and remove
the now unused Mootcher::changeWorkingDir().

Use Glib::build_filename to construct paths.
2013-06-22 13:35:03 +01:00
48efe6c293 Add config variable for Freesound download folder location. 2013-06-21 21:30:52 +01:00
21914c884e Make scroll-wheel modifier keys consistent in main editor window.
Add constants for the keyboard modifiers that should be used for vertical
zoom, horizontal zoom, and horizontal scrolling in the main editor window,
and use these where appropriate rather than using Keyboard::PrimaryModifier
and friends directly.
2013-06-21 20:13:44 +01:00
cc960c4f07 remove executable mode-bit from files 2013-06-16 21:54:08 +02:00
12584b7a7a don't display freewheeling & samplerate LV2 ports on GUI 2013-06-14 17:33:29 +02:00
80a13145f3 Generalize no-plugin-state from AudioUnits to all plugins
Replace AU_STATE_SUPPORT compile-time define with NO_PLUGIN_STATE and make it prevent plugin state setting, preset loading, preset saving and plugin state saving. Blocks on these actions exist partially in the backend and partially in the GUI (this latter class are not absolute, and should OSC or MIDI be able to drive Plugin::save_preset() the block could be circumvented). Set NO_PLUGIN_STATE if --freebie is used at waf-configure time
2013-06-13 22:50:54 -04:00
5d52ae1825 Update Russian translation of Ardour 3.2 2013-06-14 02:21:02 +02:00
e2df0413f4 fix up versioning stuff for libardour, which should track regular ardour release versions 2013-06-13 10:53:36 -04:00
31e8c77609 update .po files 2013-06-11 08:49:52 -04:00
298da23619 save and restore Generic MIDI threshold/smoothing value 2013-06-10 12:37:09 -04:00
4cb31ef74e Revert all close-on-exec changes from earlier today
with b26cc125 these are no longer needed.
2013-06-07 21:07:41 +02:00
fd5f1ef5f5 fix typo in SndFileDescriptor::open() -- check if file open succeeded. 2013-06-07 20:14:42 +02:00
07c6df00cc fix use of sf_open_fd() instad of sf_open() 2013-06-07 19:33:20 +02:00
676a23e031 close audio-file if it cannot be opened 2013-06-07 18:56:48 +02:00
0761902b7e fix issue (creating new sound-files) in 92161b57 2013-06-07 18:09:15 +02:00
bdf91de8b7 more OSC socket fcntl() close-on-exec 2013-06-07 18:02:47 +02:00
6b19f5a444 OSC bail out if server cannot be started 2013-06-07 18:02:04 +02:00
92161b57ad mark more filedes as close-on-exec. - here audio+midi files! 2013-06-07 17:43:06 +02:00
df99859ad2 more sockets to close on fork() 2013-06-07 17:12:25 +02:00
024e556cb2 close network sockets on fork
fixes problem with external apps (ie. video-server) inheriting them.
2013-06-07 16:54:47 +02:00
7d8def38f4 fix compiler warnings 2013-06-06 21:00:34 +02:00
36359a7d8f correct previous premature commit re: OSC and send gain 2013-06-06 11:19:23 -04:00
addb33bc63 implement OSC /ardour/route/send/gainabs and /ardour/route/send/gainDB 2013-06-06 11:14:31 -04:00
8bfaa2d3d9 move control surface prefs onto their own tab in the user prefs; for Generic MIDI GUI, rename "Threshold" to "Smoothing" and add a tooltip to describe it; fix misuse of S_() in prefs editor 2013-06-06 08:31:46 -04:00
e9341a7de3 fix memory leaks and compiler warnings in LXVST code 2013-06-06 02:24:49 +02:00
cc8dafad4f lilv-backwards compatible min buffer-size implementation 2013-06-03 19:34:14 +02:00
1ee8f5c2e4 add forgotten free() -- fix tiny memory leak 2013-06-03 01:45:30 +02:00
6d33cd4362 fix typo in prev commit 2013-06-03 01:42:38 +02:00
b3014a63f1 lilv_port_get() for LV bufsize query requires new lilv 2013-06-03 01:40:10 +02:00
725e7443ad properly clean up LV2 world 2013-06-03 00:51:34 +02:00
a1d0093bfa honor LV2 rsz:minimumSize for Atom Event buffers 2013-06-03 00:48:17 +02:00
Sakari Bergen
b01ff11b04 Return null if deserializing an export timespan doesn't succeed with at least one range.
This should fix an issue with loading old sessions using the old way of
handling session ranges specially.
2013-05-26 21:25:22 +03:00
Sakari Bergen
0a364fd991 Remove special handling of session range in export. Fixes things when the session range is renamed. 2013-05-26 20:25:27 +03:00
13f51112c9 skip LV2 ports on GUI according to port-properties: notOnGUI and reportsLatency 2013-05-25 09:06:06 +02:00
db39613238 Forward midi feedback from LV2 plugins and allow to chain LV2 midi plugins. 2013-05-19 17:19:01 +02:00
126d592e8a simplify prev commit 2013-05-17 13:52:16 +02:00
jdekozak
e0971b2506 free buffer then set it to 0 2013-05-17 08:03:56 +02:00
jdekozak
ae74d66eb7 initialize ltc_enc_buf to 0 to fix crash in ltc_tx_cleanup at startup 2013-05-17 08:03:55 +02:00
31a05b01e6 fix jack session filename (colons are invalid) 2013-05-16 21:14:02 +02:00
eb5096bfc7 use hw.physicalcpu to get a more accurate CPU count on OS X (hw.ncpu includes hyperthreading cpus) 2013-05-08 10:47:23 -04:00
a902737db9 various changes to window visibility mgmt, including use of the mixbus2 code for toggling editor + mixer windows. no longer attempt to track changes made outside of ardour, which is a lost cause 2013-05-07 13:01:26 -04:00
ee426ca223 fix crash on export if no master bus is present in the session 2013-05-06 00:15:48 +02:00
074ef3c859 fix bigclockwindow's lack of hiding, set ArdourWindow to just-hide-on-delete and add a bit of visibility tracking debugging 2013-05-05 15:07:52 -04:00
69a3310037 VisibilityTracker needs to inherit from sigc::tracker so that it can be used without combination with other sigc::trackable parents; fix partially_visible() logic 2013-05-04 22:01:32 -04:00
12d4c51023 forward port VST parameter name fix from mixbus: some/many VST plugins expect the buffer passed to them to be zero-filled, not just null-at-start. without this they can return garbage strings for parameter names 2013-05-02 20:29:03 -04:00
f04c35cb1c reduce verbosity of DEBUG::Sequence traces 2013-05-02 10:11:31 -04:00
e1d331761f don't do debug trace output for every Render (process) call on an AU plugin 2013-05-02 10:11:06 -04:00
ebb1271b6f Merge branch 'license-fix' of https://github.com/adiknoth/ardour 2013-05-01 13:01:37 -04:00
c40accda42 don't print stacktraces to the supplied ostream AND cerr - a remnant from debugging wierd problems with stacktrace() on paul's system 2013-04-30 11:12:52 -04:00
63b02a265a Revert "fix LXVST support for plugins that make audioMaster callbacks from
within effOpen (e.g. glitch)"

This patch broke just about all other LVXST plugins. Glitch is doing something
wrong, or there is more magic about VST that we have yet to understand.

This reverts commit 56bc98f78b.
2013-04-28 20:31:25 -04:00
db34831b18 redesign toggling of editor/mixer stacking to use Gtkmm2ext::VisibilityTracker 2013-04-26 14:12:52 -04:00
Adrian Knoth
13ad68c73c Drop obsolete dmalloc.cc from libs/pbd.
The file relies on -DDEBUG_MALLOC and references

i   #include "/usr/local/src/dmalloc-4.1.2/return.h"

It is safe to assume that it's dead code.
2013-04-22 20:18:36 +02:00
Adrian Knoth
ef1fb4161a Disable obsolete compilation of libs/pds/dmalloc.cc
The file relies on -DDEBUG_MALLOC and references

  #include "/usr/local/src/dmalloc-4.1.2/return.h"

It is safe to assume that it's dead code.
2013-04-22 20:18:36 +02:00
Adrian Knoth
5aa8e8598c Delete *.bak files 2013-04-22 20:02:08 +02:00
Adrian Knoth
55e07a7243 Drop obsolete powermate code from libs/surface 2013-04-22 19:33:19 +02:00
Adrian Knoth
c72c7e6575 Fix license in fastlog.
Date: Mon, 22 Apr 2013 19:09:04 +0200
From: Laurent de Soras <laurent.de.soras@free.fr>
To: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Subject: Re: License of FastLog

Hi Adrian,

> Several open-source projects like Ardour use the code below which has
> no explicit license.
>
> If you agree (read: reply), we'd like to add the MIT license to this
> file, that is, change the copyright statement to the following text:

Nowadays I license my code under the WTFPL, which should
be compatible with the traditional open source licenses.
So please use this one instead:
<http://www.wtfpl.net/about/>

--
Laurent de Soras                  |               Ohm Force
DSP developer & Software designer |  Digital Audio Software
http://ldesoras.free.fr           | http://www.ohmforce.com
2013-04-22 19:21:16 +02:00
90a4d01662 Revert "option to ignore feedback detection - /i know what i'm doing/ mode."
This reverts commit e17f75b351.
2013-04-15 16:02:57 +02:00
e17f75b351 option to ignore feedback detection - /i know what i'm doing/ mode.
This currently only has effect if the loop connection is
made/unmade while the option was set/unset.
Toggling the option itself won't trigger a graph re-order
2013-04-15 15:50:08 +02:00
66ee2c8e59 enable videotimeline by default 2013-04-11 19:49:48 +02:00
56bc98f78b fix LXVST support for plugins that make audioMaster callbacks from within effOpen (e.g. glitch) 2013-04-10 08:32:39 -04:00
6592c8696a Merge branch 'master' of git.ardour.org:ardour/ardour 2013-04-09 14:25:02 -04:00
722d7f4de6 update all i18n .po files 2013-04-09 09:32:14 -04:00
d9df0ea6e5 fix prev commit SaveSession() signal was sent too late. 2013-04-08 20:52:33 +02:00
8630fd1703 add session save signal and hook-up videotimeline 2013-04-08 19:51:48 +02:00
f84a3942cf partially clean up warnings from "prolooks" code 2013-04-06 16:46:21 -04:00
cd6cbba299 rename Route::is_hidden() to Route::is_auditioner() and Route::Hidden to Route::Auditioner. this has been the meaning of these terms for years now and it would be better to make it explicit 2013-04-06 16:04:02 -04:00
433e3bda70 fix crash when using track templates caused by a recent change to the filescanner API. if the template contains no plugin states, the scanner would return a null pointer, and we would fail to notice 2013-04-06 11:21:09 -04:00
c7f4a20e89 for the Auditioner only, do not reset the buffer count for scratch buffers to the input configuration, since the input config is irrelevant (data comes only from disk, no passthru). Should fix #5427 and #5432) 2013-04-06 09:52:11 -04:00
6e485c0fc1 fix reload of Generic MIDI binding state when the target state involves just a binding map, with no specific controller bindings at all (should fix #5210) 2013-04-06 09:13:39 -04:00
eb40660038 fix up export formats search path to correctly locate bundled (or installed) export formats 2013-04-06 08:45:49 -04:00
4e378abc98 if auditioner connections are somehow wiped out in CONFIG/ardour.rc, treat them as if they are still "default" 2013-04-05 18:00:18 -04:00
55a1048094 Merge branch 'patches' of https://github.com/jdekozak/ardour 2013-04-05 11:54:34 -04:00
Hans Baier
6f47365c0d midi_clock_slave.cc: report to ardour the delta that the loop sees (revert me if you object) 2013-04-05 13:17:13 +07:00
Hans Baier
5308c31767 make MIDI clock work once more:
* increase filter bandwith to make it sync faster
   * use transport_frame instead of audible_frame for calculating the loop error (thanks robin!)
   * reduce the deadzone to 0.1% (thanks robin)
2013-04-05 12:33:58 +07:00
985e3dcc50 ignore "external timecode is sync locked" for non timecode slaves. 2013-04-05 06:50:54 +02:00
e510aed38d fix reversed semantics from 86f1b for LaterNoteEndComparator() 2013-04-03 14:10:33 -04:00
1d8bac08c0 Merge branch 'master' of git.ardour.org:ardour/ardour 2013-04-02 16:11:04 -04:00
04cba6eca0 fix (?) behaviour when punching into automation write mode while the transport is moving, hopefully without breaking anything else 2013-04-02 16:10:51 -04:00
5a4d0fff01 vtl: remove xjadeo option dialog
xjadeo options (selective session restore) are only
useful for testing and debugging.
2013-04-02 18:06:38 +02:00
2da10afb64 fix #5424: routes created from templates do not get names based on the user-supplied text from the add route dialog 2013-04-01 20:45:57 -04:00
c9bb51bcca clarify comment about Automatable/ControlSet inheritance 2013-04-01 19:47:08 -04:00
11ca19ed8f Merge branch 'nsm' of https://github.com/royvegard/ardour 2013-04-01 18:54:41 -04:00
661a9d37e7 fix compilation on OS X 2013-04-01 09:03:33 -04:00
de8e003289 remove debug output 2013-03-31 09:41:51 -04:00
8388e82fd3 more work on the suprisingly ongoing filename/path/origin issue 2013-03-31 09:35:06 -04:00
Roy Vegard Ovesen
81a343ff7f Make sure every imported file is copied to the session path 2013-03-31 03:59:10 +02:00
b691d4bf04 fix up some confusion with filesources' _origin and _file_is_new members. if _origin is set, it means that the file is "external" to the session (aka "embedded") and for some purposes this is more significant than _file_is_new. rename SourceFactory::createReadable() to ::createExternal() to more clearly indicate its purpose; remove never-supplied "origin" argument from SourceFactor::createWritable(). Fixes problems caused by 864ce8f0 2013-03-30 14:02:26 -04:00
Julien de Kozak
f0f26fb8d3 Fix tests compilation 2013-03-30 18:39:43 +01:00
Julien de Kozak
27d77b8719 Fix some compilation warnings 2013-03-30 18:09:40 +01:00
864ce8f0d1 if a filesource is supposed to be new, don't waste time looking for it. if it has its _origin member set, search for that, not its name (affects embedded files) 2013-03-30 10:06:08 -04:00
757f223714 fix input metering when not rolling but using h/w monitoring: need to explicitly run meter in this case, since we are otherwise just passing silence 2013-03-30 00:14:33 -04:00
3b20beb8d8 Merge branch 'patches' of https://github.com/jdekozak/ardour 2013-03-29 14:18:08 -04:00
86f1b8c71f major fixes for MIDI patch change and note undo/redo. Patch change handling was completely broken because of the use of absolute floating point comparisons for time comparison, and serialization/deserialization of patch change property changes was borked because of int/char conversions by stringstream. Note undo/redo would fail for note removal if a note had been moved and/or had its note number changed as the next operation after it was added, because time-based lookup would fail. Similar small changes made for sysex messages, which just needed the musical_time comparisons and nothing else 2013-03-29 11:52:25 -04:00
b47e71f8ac Merge branch 'master' of git.ardour.org:ardour/ardour 2013-03-28 09:56:31 -04:00
74d54ae739 little extra debugging to show discovered LXVST .so's 2013-03-28 09:56:22 -04:00
c97244aaa9 vtl: prepare simple/advanced usage modes
"simple": localhost only system; hide much of the setup complexity
"advanced":' allow for remote-server, paths mapping, server index etc.
2013-03-28 13:42:40 +01:00
4abbabdcf9 Squashed commit of the following:
commit fdbae82077db53add90df7448a06869dac89acc6
Author: Paul Davis <paul@linuxaudiosystems.com>
Date:   Wed Mar 27 21:45:28 2013 -0400

    mammoth changes in basic signal flow, total redesign of MIDI channel filtering and more.

commit 59343a8283698e02bc0f622313b29e98f449e4c8
Author: Paul Davis <paul@linuxaudiosystems.com>
Date:   Wed Mar 27 01:58:53 2013 -0400

    initial working version after changes to MIDI channel filtering. may affect metering input too. testing not yet finished

this commit merges many deep changes in ardour's internal architecture,
combined with a total redesign of how MIDI channel filtering works.

data in a track used to flow from JACK port buffers to diskstream's ringbuffers
and was then copied from the ringbuffers into a BufferSet for use during
Route::process_output_buffers(). The butler thread would handle the movement of
data between the ringbuffers and disk.

with this commit, data now flows from JACK port buffers into the BufferSet used
for Route processing, and is copied from the BufferSet into the diskstream's
ringbuffers (the butler thread continues to handle interactions with disk as
usual).

this change allowed a dramatic consolidation of code and simplification of most
aspects of Track/Route::roll() and Track/Route::no_roll(). in particular, see
Route::fill_buffers_with_input() which now concisely describes how we move data
from JACK port buffers into the BufferSet for all Route types (including Tracks).

this work was initially motivated by changing MIDI channel filtering so that we
can process capture and playback independently. there is now a very clean
pathway for this - see MidiTrack::roll() (NOTE: This needs implementing in the
no-roll case too - a TODO item).

the channel selector for MIDI tracks has been moved out of the track header and
is now accessible via the context menu. more work is likely here, to make it
(more) obvious to the user when filtering is going on.
2013-03-27 21:50:18 -04:00
b3fa4dd8f3 vtl: video sets session start/end markers. 2013-03-27 18:21:09 +01:00
bd2d4d4247 add new VisibilityTracker class to implement cycling window visibility "properly" - i.e. avoiding hide+show/present to get a hidden or partially obscured window visible again 2013-03-25 20:03:59 -04:00
fe29965980 Fix memory leak. 2013-03-24 20:10:11 -04:00
adf40b97e0 Load LV2 presets using lilv state API to support presets with state. 2013-03-24 18:44:18 -04:00
Sakari Bergen
b6c2dec8fa Fix static initialization order problem 2013-03-24 21:18:20 +02:00
Sakari Bergen
24816de6ca Fix PBD wscript to be python3 compatible 2013-03-24 14:51:57 +02:00
Julien de Kozak
16f8fc0657 Fix some compilation warnings 2013-03-23 14:50:58 +01:00
d99b5dfa37 fix nasty crash when using double-nested compound (consolidated) regions caused by not (re)allocating enough mixdown buffers; fix up various warnings from valgrind about mismatching operator delete[] by using shared_array<T> rather than shared_ptr<T>, as should have been the case all along 2013-03-21 10:14:01 -04:00
027f0e156a Merge branch 'patches' of https://github.com/jdekozak/ardour 2013-03-20 17:47:47 -04:00
a5d3f2d578 make PBD::stacktrace() be clear if it cannot generate stacktraces for some (runtime) reason. not sure why this is an issue, but it is, right now, on my machine 2013-03-20 17:20:13 -04:00
16ce39c230 initial, prototype modifications to permit compilation of local libraries as static libs. required a "fix" to libs/pbd/debug.cc to even get the program up and running, and still does not work due to issues with boost::shared_ptr::enable_shared_from_this. controlled by configure-time --internal-{static,shared}-libs, set to shared by default (as has been the case for years) 2013-03-20 17:18:55 -04:00
4caecfa310 fix other potential crashes with non-existing plugins and presets caused by indiscriminate use of vector_delete<T> 2013-03-20 17:15:08 -04:00
Julien de Kozak
1e6d12be03 Fix guard name 2013-03-20 20:17:56 +01:00
a1a8794dad add missing files 2013-03-20 08:43:19 -04:00
a2d6577210 move path_expand() and search_path_expand() into libpbd, and use them to expand search paths given to pathscanner objects (always) 2013-03-20 07:43:19 -04:00
b2a667266b fix crash when deleting non-existing presets 2013-03-20 07:42:17 -04:00
78c6c9c04a fix mishanding of LXVST (and windows VST) plugin names where the path includes a directory with a period/dot in its name such as ~/.lxvst 2013-03-19 16:44:25 -04:00
Adrian Knoth
57d758c9e2 [cosmetics] Replace "misformed" by "malformed" in PO files
Found by Debian's automatic QA tool.
2013-03-19 17:36:24 +01:00
Adrian Knoth
1e32454b36 [cosmetics] Fix typo in debug output
Found by Debian's automatic QA tool.
2013-03-19 17:24:34 +01:00
719818b569 Merge branch 'kdev4' of https://github.com/jdekozak/ardour 2013-03-18 18:57:21 -04:00
88bf5eceea parameter-ize the URL used to donate from the nag screen 2013-03-18 16:56:05 -04:00
Julien de Kozak
eb7a85b8f9 Set the revision mechanism independent from the VCS name 2013-03-18 20:13:05 +01:00
2c3dc9861e missing part of the midi map fix 2013-03-18 13:59:12 -04:00
1847053f66 return the full MIDI map search path from system_midi_map_search_path(), to fix #5379 2013-03-18 11:42:49 -04:00
b0fa3896f5 remove cruft (old cvsignore files) 2013-03-17 23:08:27 +01:00
07112b55e0 Save LV2 presets with relative URIs to their own bundle, in the same style as Jalv. 2013-03-17 12:52:49 -04:00
Sakari Bergen
8cbb9727e9 Handle mutiple export files with the same extension but different format.
If multiple filenames have the same extension, append the format name
to the filename. This still requires a bit of extra logic to be optimal,
as the format name will now be added in some situations where it is not
needed. However, this is better than producing a broken file...
2013-03-17 12:32:48 +02:00
25a7748068 match *.[mM][iI][dD][iI]$ as well as *.[mM][iI][dD] files when looking for MIDI files 2013-03-14 22:31:32 -04:00
0c3e840700 videotimline
squashed 694 commits from http://gareus.org/gitweb/?p=ardour3.git
2013-03-13 20:28:15 +01:00
da41e5087b NOOP - pre videotimline cleanup 2013-03-13 20:28:14 +01:00
f41e2b2ac1 remove very out of date xcode project definition 2013-03-12 13:26:54 -04:00
fe39866bba fix error reporting for a realpath(2) error
git-svn-id: svn+ssh://subversion.ardour.org/ardour2/branches/3.0@14214 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-12 16:32:47 +01:00
742e3647bf install path for clearlooks engine is wrong (only affects source builds, bundles are unaffected
git-svn-id: svn://localhost/ardour2/branches/3.0@14210 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-10 21:00:45 +00:00
79db9422ac do not use https for pingbacks
git-svn-id: svn://localhost/ardour2/branches/3.0@14207 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-10 16:17:36 +00:00
e701adea41 add code to display announcements, and parameterize several URL's used in the program
git-svn-id: svn://localhost/ardour2/branches/3.0@14197 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-09 13:44:22 +00:00
3eef81daa2 remove old call_the_mothership code
git-svn-id: svn://localhost/ardour2/branches/3.0@14188 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-08 16:12:52 +00:00
8f091de64b for MCP devices that don't handshake, turn them on as soon as we call ::connectivity_established() so that _active == true, and we will actually write to them
git-svn-id: svn://localhost/ardour2/branches/3.0@14165 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-06 20:15:28 +00:00
95c86bec2d two fixes from TheCranston to help out on OS X with disk space measurement, modified by me
git-svn-id: svn://localhost/ardour2/branches/3.0@14157 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-06 01:05:15 +00:00
91ff55bd89 make notice about mismatched session/ardour versions more prominent, since you can guarantee that people are going to do this after release
git-svn-id: svn://localhost/ardour2/branches/3.0@14138 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-03-04 21:57:29 +00:00