Commit graph

9631 commits

Author SHA1 Message Date
Robin Gareus
aacf086246 add API to query signal value of audio-latency measurement 2016-01-14 19:10:04 +01:00
Paul Davis
2386410e4a remove debug output 2016-01-14 11:00:50 -05:00
Paul Davis
9ab92a67c8 use correct type of lock when removing a thread request buffer 2016-01-14 11:00:40 -05:00
Paul Davis
5e4d9612e3 faderport: stop event loop when destroying object 2016-01-14 10:59:27 -05:00
Paul Davis
35807a1929 fully clean up request buffers when a thread dies 2016-01-14 10:53:32 -05:00
Paul Davis
077c65cc2a manually revert 4b3043cc and 141e6fb818; add detailed explanatory comment 2016-01-14 09:05:06 -05:00
Paul Davis
da087e920b ensure that each and every audioengine-related thread has a unique name 2016-01-14 09:05:06 -05:00
Paul Davis
141e6fb818 don't pick up already dead thread request buffers when setting up an event loop 2016-01-13 23:25:17 -05:00
Paul Davis
4b3043ccda use a unique key to store per-thread request buffers 2016-01-13 23:00:02 -05:00
Paul Davis
d3ad5c16d1 yet more event loop debug tracing 2016-01-13 21:13:55 -05:00
Paul Davis
6d04a66eea more event loop debugging 2016-01-13 19:48:17 -05:00
Paul Davis
3e45254257 typo fix 2016-01-13 18:14:52 -05:00
Paul Davis
f3c9f5894a lots more DEBUG_TRACE statements for analysing malfunctioning system 2016-01-13 17:03:49 -05:00
Tim Mayberry
9a52cefd13 Fix bug 6725 regions incorrectly moved after tempo change when glued to BBT time
Playlist::_split_region copies the region and BBT_Time member is default
constructed so position is bar 1 beat 1.

The regions sample position is then initialized to the new position using the
property list.

Playlist::add_region_internal is then used to add new regions to the playlist
which calls region->set_position() but as the region position has already been
initialized it does not recompute the _bbt_time member based on the new sample
position.

Then when a tempo change occurs and Region::update_after_tempo_map_change is
called the default initialized _bbt_time member is used to incorrectly
determine the new sample position.

So the change removes the initialization of the new region position using the
property list initialization method and just lets the playlist set the position
of the region in Playlist::add_region_internal so that the region _bbt_time
member is recomputed in Region::set_position_internal.
2016-01-14 07:05:04 +10:00
Paul Davis
b81504581b another DEBUG_TRACE for mackie control x-thread requests 2016-01-12 23:30:14 -05:00
Paul Davis
bcb865c235 improved debug trace messages from BaseUI class 2016-01-12 22:11:44 -05:00
Len Ovens
7cbf35a3d6 Mackie Control, Fix sends after monitor not showing. 2016-01-12 08:15:57 -08:00
Paul Davis
90c4985604 remove wavesaudio backend 2016-01-12 08:06:47 -05:00
Robin Gareus
cf6a3afcaa name ALSA midi ports after device 2016-01-11 11:46:10 +01:00
Robin Gareus
0fc06b4a1b fix warning message typo 2016-01-11 11:45:44 +01:00
Robin Gareus
d134ba037d fix compilation of debug builds
ArdourSurface::FaderPort::Button::name is private
2016-01-11 11:07:09 +01:00
Paul Davis
f1d0de029d remove debug output 2016-01-10 23:34:10 -05:00
Paul Davis
530dd4255c faderport: remove wierd shift use design; make user+shift work again 2016-01-10 23:32:21 -05:00
Paul Davis
a9995c59cc coremidi: do not clear port buffer for every call to parse_events()
This was limiting the data flow to 1 MIDI event per process cycle.
2016-01-10 17:46:36 -05:00
Paul Davis
36fb8c44c1 add explanatory comment regarding coremidi data flow 2016-01-09 14:45:38 -05:00
Paul Davis
539d924691 fix const-ness issue.
This one is debatable, but since we know that the filter method is const with respect to the AUPluginInfo
object, the const_cast<> seems like the simplest AND cleanest solution
2016-01-09 14:03:13 -05:00
Paul Davis
4a99727dea coremidi: be sure to mark _event._pending false after queueing, so that it doesn't get queued up again later 2016-01-09 13:53:17 -05:00
Robin Gareus
e6e7377cd8 API evolution
The Session-reference is only needed to instantiate/load the plugin.
Indexing presets is not supposed to call load() and be const WRT to
PluginInfo
2016-01-09 15:22:16 +01:00
Robin Gareus
0e6f763734 and again. 2016-01-09 01:24:10 +01:00
Robin Gareus
5a047fcd15 fix typo in ce7d18bc16 2016-01-09 01:01:18 +01:00
Robin Gareus
ba450aaeaa Leave a ToDo note: distinguish LV2 user and factory presets. 2016-01-09 00:57:53 +01:00
Robin Gareus
ce7d18bc16 don't allow to delete factory presets 2016-01-09 00:51:24 +01:00
Robin Gareus
7623b4bea0 exclude AU factory presets from favorite list 2016-01-08 21:13:03 +01:00
Robin Gareus
25a128f853 Fix monitor-section session-property vs preference state.
The initial value of Config::get_use_monitor_bus() may not reflect
the current session's state when loading a session.
2016-01-08 16:01:56 +01:00
Paul Davis
ef45a6c84b coreaudio: remove debug output 2016-01-08 09:43:33 -05:00
Paul Davis
63cbe11c67 coreaudio: remove debug output 2016-01-08 09:39:55 -05:00
Paul Davis
cae2f82278 NOOP: fix whitespace/indendentation in coreaudio backend code 2016-01-08 09:39:00 -05:00
Paul Davis
3d5e345800 coreaudio: reset MIDI parsers when entering and leaving freewheeling 2016-01-08 09:23:05 -05:00
Robin Gareus
13148d29e2 translatable "Monitor" processor name 2016-01-08 14:21:14 +01:00
Robin Gareus
24344d5d11 Expose overall monitor-processor state 2016-01-08 14:20:58 +01:00
Robin Gareus
b4b0f57c0b remove default implementation to query plugin-preset names 2016-01-08 11:09:43 +01:00
Alexandre Prokoudine
425843d2fd Update Russian translation 2016-01-08 00:40:41 +01:00
Paul Davis
9d3cbe44a3 coreaudio: correctly clear MIDI port buffers 2016-01-07 18:11:45 -05:00
Paul Davis
c615e26f3c coreaudio: factor out common code for stuffing MIDI data into a CoreMidiPort buffer 2016-01-07 18:11:45 -05:00
Robin Gareus
087610dc56 Allow to query Windows VST user-preset-names 2016-01-07 22:58:27 +01:00
Robin Gareus
1973e6ec93 lxvst preset name display (user presets only) 2016-01-07 22:58:27 +01:00
Paul Davis
58edc83d11 tweak/add faderport debug messages 2016-01-07 16:42:57 -05:00
Paul Davis
6e71d3b445 coreaudio: per-port parser for incoming MIDI, copied from ALSA Raw MIDI support 2016-01-07 16:42:34 -05:00
Robin Gareus
085ffef106 LADSPA preset discovery 2016-01-07 21:05:14 +01:00
Robin Gareus
b7e06693be nitpick 2016-01-07 20:44:59 +01:00