Commit graph

9278 commits

Author SHA1 Message Date
Robin Gareus
b99d833028 fix implicit solo on disconnect - fixes #6308 2015-10-06 02:53:06 +02:00
Robin Gareus
09bad018f4 forward "disconnect all", partial fix for #6308 2015-10-06 01:28:33 +02:00
Robin Gareus
53c14f86c9 fix typo in prev. commit 2015-10-05 22:42:01 +02:00
Robin Gareus
168212b864 fix typo 2015-10-05 22:37:41 +02:00
Robin Gareus
2397429e99 use quotes for in-tree pbd/glib wrapper include 2015-10-05 22:15:18 +02:00
Robin Gareus
dc36b063bf remove unused fstream includes 2015-10-05 22:15:18 +02:00
Robin Gareus
97bd6db2b7 remove i/ofstream from libardour
except: 
 * audio-unit (ifstream is known to work on OSX)
 * evoral curve algorithm debugger
 * cycle-timer debug code
 * export_handler's CDMarker  -> TODO
2015-10-05 22:15:17 +02:00
Robin Gareus
b9c8814959 replace i/ofstream for plugin statues 2015-10-05 22:15:17 +02:00
Robin Gareus
c3b2cc46c5 remove unused API (and ifstream) 2015-10-05 22:15:17 +02:00
Paul Davis
eb4c9b022a try enabling windows MME MIDI sysex support 2015-10-05 12:24:15 -04:00
Paul Davis
33d614359a only use HUI heartbeat with HUI devices 2015-10-05 12:24:15 -04:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Robin Gareus
e11ba7b79d SiP and "solo overrides mutes" tweak:
Only Explicit solos should override mutes.
2015-10-05 14:19:32 +02:00
Robin Gareus
c4a3291b80 allow grouped AFL/PFL with excl. solo 2015-10-05 00:27:48 +02:00
Robin Gareus
58d59177bb fix various stuck-solo cases:
* solo groups
* cancel-solo
* SIP <> AFL/PFL changes

The optimized plural-form route_solo_changed() relied on the false
premise that solo-groups and port-connections are disjoint sets.

-=-

e.g. "cancel all solo" calls set_solo(get_routes(), false);
Since All routes are affected, the "non_solo_change" set is empty, and
no changes were propagated up/downstream.

Routes that indirectly change state as group-members, wrongly end up in
the "non_solo_change" list instead of the "solo_change" list.

If a route feeds another in the same group, no changes were propagated.
2015-10-05 00:08:55 +02:00
Robin Gareus
e21e7f7040 fix AFL/PFL/SIP "stuck solo" - fixes #5803
monitor_send are only active when listening (AFL, PFL).
don't activate them when re-configuring processors.
2015-10-04 23:28:08 +02:00
Paul Davis
4178db5f63 globally remove all trailing whitespace from .cpp and .hpp files missed by previous commit 2015-10-04 15:11:15 -04:00
Paul Davis
4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Paul Davis
297e80e020 attempt to stop transport, finish butler work, and close all files as part of Session > Cleanup 2015-10-04 14:18:04 -04:00
Paul Davis
e63de172d5 NOOP: delete trailing whitespace 2015-10-04 14:18:04 -04:00
Robin Gareus
b3ace2e4c8 namespace fix. 2015-10-04 18:43:44 +02:00
Robin Gareus
2fbed9e41f replace std::ifstream with g_fopen for portability 2015-10-04 18:23:21 +02:00
Robin Gareus
ac814da4be correct error message 2015-10-04 17:53:02 +02:00
John Emmas
c68736bc02 Change a few instances of 'stat()' to use 'g_stat()' (for UTF8 compatibility on Windows) 2015-10-04 14:18:54 +01:00
Robin Gareus
cf33204e35 always use session rt-event to un/set solo 2015-10-04 02:04:59 +02:00
Len Ovens
a333edcb28 Initialize variable every loop so MCP devices don't accumulate too. 2015-10-03 13:15:18 -07:00
Len Ovens
4b69495f82 Initialize variable every loop so MCP profiles don't accumulate. 2015-10-03 13:06:34 -07:00
Paul Davis
2dddf6504b NOOP: delete trailing whitespace 2015-10-03 14:03:29 -04:00
Paul Davis
1e5672de98 reset IP MIDI port when deleting a mackie surface port 2015-10-03 13:51:17 -04:00
Paul Davis
9d7b5f6df9 reset shared_ptr to master surface when clearing surfaces, to ensure Surface destructor is called 2015-10-03 13:50:59 -04:00
Damien Zammit
7d2dd9db0c Click: Normalized then dropped by 6dB
Applied gain to both emph click and default click using sox.
This results in louder click sound by default and user is
able to boost click to 0dBFS using the fader on the pref pane.

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-10-03 13:14:25 -04:00
Paul Davis
4403ce4bd4 make a start on providing direct choice of MIDI ports where an MCP device can be reached 2015-10-03 13:13:58 -04:00
Paul Davis
29c484cd95 NOOP: reformat indentation 2015-10-03 13:13:58 -04:00
Paul Davis
91d3aabf53 NOOP: reformat indentation 2015-10-03 13:13:58 -04:00
Paul Davis
76398911d4 more code-control when laying out Mackie Control GUI panel 2015-10-03 13:13:58 -04:00
Paul Davis
6bf0d4f627 add basic support for HUI heartbeat, only used for HUI devices 2015-10-03 13:13:58 -04:00
Paul Davis
4ef45aacc1 add DeviceType specifier for mackie devices.
Incomplete, because we need a way to handle multiple devices of different types
2015-10-03 13:13:58 -04:00
Paul Davis
13765d41e3 NOOP: reformat indentation 2015-10-03 13:13:58 -04:00
Paul Davis
c8448cb0dd add device type to Mackie device info 2015-10-03 13:13:57 -04:00
Paul Davis
53c47e0ccd add support to display and set key aliases in mackie GUI 2015-10-03 13:13:57 -04:00
Robin Gareus
6357770588 additional check for DSP falloff. 2015-10-03 17:46:55 +02:00
Robin Gareus
20038fedf4 less verbose unit-tests 2015-10-03 17:46:39 +02:00
Robin Gareus
01105dc971 DSP load fall-off from 100%.
get_dsp_load_unbound() will return large values >100% for testing, 
but actual fall-off is from 100%.
2015-10-03 17:46:19 +02:00
Robin Gareus
9fc3883cbb fix float calc:
divide large number. not multiply a small.
2015-10-03 17:44:56 +02:00
Robin Gareus
f0c1d58f59 fix windows compilation 2015-10-03 11:20:15 +02:00
Paul Davis
3733fd7f31 remove undefined and unused method declaration 2015-10-02 22:08:15 -04:00
Paul Davis
0ee737f129 another change from modifier_state() to main_modifier_state() 2015-10-02 22:08:15 -04:00
Paul Davis
c78426968f avoid handling pitchbend (fader) messages while SHIFT modifier is active.
See comment in code for more detail
2015-10-02 22:08:15 -04:00
Paul Davis
40a4e2e6af no longer call ::zero_all() when deleting an MCP surface object.
The ports required may no longer exist, and it requires a lot of messages. A reset is sent instead
2015-10-02 22:08:14 -04:00
Paul Davis
9476657cd1 use ::main_modifier_state() in some more places 2015-10-02 22:08:14 -04:00