aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorMax Horn2007-07-01 12:47:07 +0000
committerMax Horn2007-07-01 12:47:07 +0000
commite2ad271bd854369b437524cde60bfcb462225b82 (patch)
treed939d2be1b221b1ef57e58b24d1d4cc45062f5b6 /sound/softsynth
parentd2189e7111fc4aab508395ed136d094e8893717b (diff)
downloadscummvm-rg350-e2ad271bd854369b437524cde60bfcb462225b82.tar.gz
scummvm-rg350-e2ad271bd854369b437524cde60bfcb462225b82.tar.bz2
scummvm-rg350-e2ad271bd854369b437524cde60bfcb462225b82.zip
Removing non-ASCII chars from source code
svn-id: r27818
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/ym2612.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/softsynth/ym2612.cpp b/sound/softsynth/ym2612.cpp
index 5d36c9ec28..e3aa9d2528 100644
--- a/sound/softsynth/ym2612.cpp
+++ b/sound/softsynth/ym2612.cpp
@@ -129,7 +129,7 @@ void Operator2612::frequency(int freq) {
value *= 127 - _specifiedTotalLevel;
value /= 127;
}
- _attackTime = (int32) value; // 1 秒 == (1 << 12)
+ _attackTime = (int32) value; // 1 ?? == (1 << 12)
if (_attackTime > 0)
_attackTime = (1 << (12+10)) / (_owner->_rate * _attackTime);
@@ -295,7 +295,7 @@ Voice2612::~Voice2612() {
void Voice2612::velocity(int velo) {
_velocity = velo;
#if 0
- int v = (velo * _control7) >> 7; // これだと精度良くないですね
+ int v = (velo * _control7) >> 7;
#else
int v = velo + (_control7 - 127) * 4;
#endif