From f66b87d9dd4fcd6b9f91134d64d85af04a7c47b5 Mon Sep 17 00:00:00 2001 From: angel Date: Tue, 10 May 2005 15:39:54 +0000 Subject: [PATCH] Volumes in instruments are really applied (Closes: #1050). git-svn-id: file:///home/angel/tmp/svn-triptico/ahxm/trunk@557 c87de0a0-a11c-0410-a1e5-866214bc28b2 --- TODO | 3 ++- ss_ins.c | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index de0644e..33116bf 100644 --- a/TODO +++ b/TODO @@ -22,7 +22,6 @@ Release Critical Bugs the linefeed has already been read and yyline incremented. This probably occurs also with other directives. * 1048: ss_wave must be dynamic. - * 1050: New ss_ins is flawed; volumes are never used. Open Bugs --------- @@ -129,5 +128,7 @@ Closed (Mon, 09 May 2005 16:24:13 +0200). * 1049: Since the closing of #1047, the channel map in ss_ins is completely broken (Tue, 10 May 2005 18:27:28 +0200). + * 1050: New ss_ins is flawed; volumes are never used + (Tue, 10 May 2005 18:41:30 +0200). Email bugs to angel@triptico.com diff --git a/ss_ins.c b/ss_ins.c index ade805a..2be49a7 100644 --- a/ss_ins.c +++ b/ss_ins.c @@ -246,5 +246,8 @@ void ss_ins_frame(struct ss_ins * i, float frame[]) /* loops through the effects and remixes */ for(n=0;n < i->n_channels;n++) + { frame[n] += ss_eff_process(i->effs[n], l_frame[n]); + frame[n] *= i->vols[n]; + } } -- 2.11.4.GIT