diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2013-01-11 07:32:46 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2013-01-11 07:32:46 +0000 |
commit | 0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch) | |
tree | 234109de1123b13f217494af4b3f8efad346d5cc /src/osd/osdepend.c | |
parent | 111157ca09a9ff60fe4a9ba49173c315e94314fa (diff) |
Cleanups and version bumpmame0148
Diffstat (limited to 'src/osd/osdepend.c')
-rw-r--r-- | src/osd/osdepend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osd/osdepend.c b/src/osd/osdepend.c index effc05a204f..2130eb3b458 100644 --- a/src/osd/osdepend.c +++ b/src/osd/osdepend.c @@ -171,10 +171,10 @@ void osd_interface::set_mastervolume(int attenuation) // // Attenuation is the attenuation in dB (a negative number). // To convert from dB to a linear volume scale do the following: - // volume = MAX_VOLUME; - // while (attenuation++ < 0) - // volume /= 1.122018454; // = (10 ^ (1/20)) = 1dB - // + // volume = MAX_VOLUME; + // while (attenuation++ < 0) + // volume /= 1.122018454; // = (10 ^ (1/20)) = 1dB + // } |