Mercurial > love-experiments
changeset 1431:016693e8c1b0 sounddata-samplecount
Fix formatting to be like original default
| author | darthfodder<ssdarthfodder@gmail.com> |
|---|---|
| date | Sun, 07 Apr 2013 18:25:59 -0700 |
| parents | cf1abdb916af |
| children | ab2ad66523aa |
| files | src/modules/sound/SoundData.cpp |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/modules/sound/SoundData.cpp Sun Apr 07 18:22:56 2013 -0700 +++ b/src/modules/sound/SoundData.cpp Sun Apr 07 18:25:59 2013 -0700 @@ -154,7 +154,7 @@ float SoundData::getDuration() const { - return float(size) /(channels*sampleRate*bits/8); + return float(size) / (channels*sampleRate*bits/8); } void SoundData::setSample(int i, float sample)
