Mercurial > audlegacy
changeset 919:c19c3ea7d29d trunk
[svn] - fading fix
author | nenolod |
---|---|
date | Thu, 06 Apr 2006 11:03:26 -0700 |
parents | b59d9a02b160 |
children | 999d1af32ab4 |
files | Plugins/Input/console/Track_Emu.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/console/Track_Emu.cpp Wed Apr 05 11:15:06 2006 -0700 +++ b/Plugins/Input/console/Track_Emu.cpp Thu Apr 06 11:03:26 2006 -0700 @@ -175,7 +175,7 @@ end_track(); int count = min( fade_block_size, out_count - i ); - int igain = (unsigned int)((double)gain) * (1 << 15); + int igain = (unsigned int)((double)gain * (1 << 15));; for ( int j = 0; j < count; j++ ) out [i + j] = (out [i + j] * igain) >> 15; }