aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--app/synthpod_app_port.c2
-rw-r--r--plugins/synthpod_common_nk.c22
3 files changed, 13 insertions, 13 deletions
diff --git a/VERSION b/VERSION
index e55ed65f..4668dfcd 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.5799
+0.1.5801
diff --git a/app/synthpod_app_port.c b/app/synthpod_app_port.c
index c8c12b07..0fc0fafb 100644
--- a/app/synthpod_app_port.c
+++ b/app/synthpod_app_port.c
@@ -302,7 +302,7 @@ _sp_app_port_disconnect_request(sp_app_t *app, port_t *src_port, port_t *snk_por
if(source)
{
- if(src_port->type == PORT_TYPE_AUDIO)
+ if( (src_port->type == PORT_TYPE_AUDIO) && (source->ramp.state == RAMP_STATE_NONE) )
{
// only audio output ports need to be ramped to be clickless
source->ramp.samples = app->ramp_samples;
diff --git a/plugins/synthpod_common_nk.c b/plugins/synthpod_common_nk.c
index 8caef1e0..a9fa77e6 100644
--- a/plugins/synthpod_common_nk.c
+++ b/plugins/synthpod_common_nk.c
@@ -6345,6 +6345,17 @@ static inline void
_remove_selected_nodes(plughandle_t *handle)
{
DBG;
+ // deselect all module connectors
+ HASH_FOREACH(&handle->conns, mod_conn_itr)
+ {
+ mod_conn_t *mod_conn = *mod_conn_itr;
+
+ if(mod_conn->selected)
+ {
+ _remove_visible_ports_from_mod_conn(handle, mod_conn);
+ }
+ }
+
// deselect all modules
HASH_FOREACH(&handle->mods, mod_itr)
{
@@ -6363,17 +6374,6 @@ _remove_selected_nodes(plughandle_t *handle)
}
}
}
-
- // deselect all module connectors
- HASH_FOREACH(&handle->conns, mod_conn_itr)
- {
- mod_conn_t *mod_conn = *mod_conn_itr;
-
- if(mod_conn->selected)
- {
- _remove_visible_ports_from_mod_conn(handle, mod_conn);
- }
- }
}
static inline void