13
0
Commit Graph

9144 Commits

Author SHA1 Message Date
ce30132a89 fix initial AFL/PFL state after session-load 2015-10-06 19:10:25 +02:00
83d8db3925 add missing semicolon 2015-10-06 18:55:49 +02:00
2af78143c1 more debugging for MIDI input via WinMME 2015-10-06 12:42:01 -04:00
ef35ee5d43 detect windows DLL architecture 2015-10-06 18:16:12 +02:00
96720089cf remove newly unused code 2015-10-06 18:16:12 +02:00
0cfb898802 propagate solo/iso when disconnecting ports. 2015-10-06 18:16:12 +02:00
89156be67a add more debugging to portaudio/MME MIDI backend 2015-10-06 11:01:58 -04:00
b1609b53bd more solo propagation fixes.
handle cases  Track(s) -> Bus1 -> Bus2
2015-10-06 14:14:44 +02:00
139cb23ab9 fix implicit mute display 2015-10-06 12:21:40 +02:00
fb2e8387dd "Solo Lock" only locks explicit solo (not implicit).
fixes issue:

Track -> Bus
1) solo track -> implicit Bus solo 
2) Solo-Lock Bus
3) un-solo track -> Bus is stuck w/implicit solo on
2015-10-06 12:21:40 +02:00
f04b95c42e Solo-Isolate has no effect on solo propagation.
'Isolate' means that when another track is solo'd the isolated
track won't mute.
2015-10-06 12:21:40 +02:00
4ebc6ef0b4 Fix WinMME midi driver shutdown with sysex enabled
midiInReset triggers the sysex callback to tell the application that it has
finished with the buffer. Calling midiInAddBuffer results in an infinite loop
so just return during shutdown.
2015-10-06 13:29:57 +10:00
1c0265e27c Include button number in canvas button press/release debug info 2015-10-06 13:29:57 +10:00
34d9b2148e Remove an unnecessary boolean argument in jack utils
Specify latency in JackCommandLineOptions instead
2015-10-06 13:29:57 +10:00
3eb4b43fa6 Initialize AudioEngine::last_backend_error() to the default error string
Currently the last backend error string is only set when calling
AudioBackend::start. Errors that occur when calling other AudioBackend methods
like AudioBackend::set_buffer_size do not set the last backend error string.
So until all the required AudioBackend methods return an ErrorCode and
last_backend_error() can be removed just set it to a default string.

Until all errors that occur are correctly indicated by returning an error code
there will still be situations where last_backend_error() is not indicative of
the true error. For instance AudioEngine::start is called and it fails but
returns a valid error code so last_backend_error() is set, then some other
engine/backend method is called that fails and as last_backend_error is not
set the GUI will display the incorrect error message.
2015-10-06 13:29:57 +10:00
da46df6225 Show DSP/CPU load of 0.0% when AudioEngine isn't running 2015-10-06 13:29:57 +10:00
b99d833028 fix implicit solo on disconnect - fixes #6308 2015-10-06 02:53:06 +02:00
09bad018f4 forward "disconnect all", partial fix for #6308 2015-10-06 01:28:33 +02:00
53c14f86c9 fix typo in prev. commit 2015-10-05 22:42:01 +02:00
168212b864 fix typo 2015-10-05 22:37:41 +02:00
2397429e99 use quotes for in-tree pbd/glib wrapper include 2015-10-05 22:15:18 +02:00
dc36b063bf remove unused fstream includes 2015-10-05 22:15:18 +02:00
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
b9c8814959 replace i/ofstream for plugin statues 2015-10-05 22:15:17 +02:00
c3b2cc46c5 remove unused API (and ifstream) 2015-10-05 22:15:17 +02:00
eb4c9b022a try enabling windows MME MIDI sysex support 2015-10-05 12:24:15 -04:00
33d614359a only use HUI heartbeat with HUI devices 2015-10-05 12:24:15 -04:00
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
e11ba7b79d SiP and "solo overrides mutes" tweak:
Only Explicit solos should override mutes.
2015-10-05 14:19:32 +02:00
c4a3291b80 allow grouped AFL/PFL with excl. solo 2015-10-05 00:27:48 +02:00
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
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
4178db5f63 globally remove all trailing whitespace from .cpp and .hpp files missed by previous commit 2015-10-04 15:11:15 -04:00
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
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
e63de172d5 NOOP: delete trailing whitespace 2015-10-04 14:18:04 -04:00
b3ace2e4c8 namespace fix. 2015-10-04 18:43:44 +02:00
2fbed9e41f replace std::ifstream with g_fopen for portability 2015-10-04 18:23:21 +02:00
ac814da4be correct error message 2015-10-04 17:53:02 +02:00
c68736bc02 Change a few instances of 'stat()' to use 'g_stat()' (for UTF8 compatibility on Windows) 2015-10-04 14:18:54 +01:00
cf33204e35 always use session rt-event to un/set solo 2015-10-04 02:04:59 +02:00
a333edcb28 Initialize variable every loop so MCP devices don't accumulate too. 2015-10-03 13:15:18 -07:00
4b69495f82 Initialize variable every loop so MCP profiles don't accumulate. 2015-10-03 13:06:34 -07:00
2dddf6504b NOOP: delete trailing whitespace 2015-10-03 14:03:29 -04:00
1e5672de98 reset IP MIDI port when deleting a mackie surface port 2015-10-03 13:51:17 -04:00
9d7b5f6df9 reset shared_ptr to master surface when clearing surfaces, to ensure Surface destructor is called 2015-10-03 13:50:59 -04:00
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
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
29c484cd95 NOOP: reformat indentation 2015-10-03 13:13:58 -04:00
91d3aabf53 NOOP: reformat indentation 2015-10-03 13:13:58 -04:00