forked from len0rd/rockbox
Get rid of old junk and fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11106 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
80b4882922
commit
ba0d55510f
1 changed files with 0 additions and 9 deletions
|
|
@ -277,15 +277,6 @@ signed short int synthVoice(struct SynthObject * so)
|
||||||
if(so->decay < 10 && so->decay > -10)
|
if(so->decay < 10 && so->decay > -10)
|
||||||
so->isUsed = 0;
|
so->isUsed = 0;
|
||||||
|
|
||||||
if(so->state == STATE_RAMPDOWN)
|
|
||||||
{
|
|
||||||
so->decay-=5;
|
|
||||||
if(so->decay < 5)
|
|
||||||
so->isUsed=0;
|
|
||||||
s = (s * so->decay) >> 8;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
return so->decay*so->volscale>>14;
|
return so->decay*so->volscale>>14;
|
||||||
}
|
}
|
||||||
} else /* OK to advance voice */
|
} else /* OK to advance voice */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue