aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-08-02 13:44:13 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-08-02 13:44:13 +0200
commit346681aaf806cf255e7c31de5e229a5c9a4f78ec (patch)
tree7513d1dd494c1e1f625f27e90655441351a964b7 /lib
parent9672487e9af5d079a53e8d6afd90ce9d747ca888 (diff)
downloadsynthpod-346681aaf806cf255e7c31de5e229a5c9a4f78ec.tar.xz
audio ramps working for port (dis)connect.
Diffstat (limited to 'lib')
-rw-r--r--lib/synthpod_app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/synthpod_app.c b/lib/synthpod_app.c
index d6458f8d..c68d3515 100644
--- a/lib/synthpod_app.c
+++ b/lib/synthpod_app.c
@@ -1000,10 +1000,10 @@ _sp_app_port_disconnect_request(sp_app_t *app, port_t *src_port, port_t *snk_por
{
conn->ramp.samples = app->ramp_samples;
conn->ramp.state = RAMP_STATE_DOWN;
- conn->ramp.value = 0.f;
+ conn->ramp.value = 1.f;
}
}
- else
+ else // disconnect immediately
{
_sp_app_port_disconnect(app, src_port, snk_port);
}