Browse Source

Fix formatting to be like original default

--HG--
branch : sounddata-samplecount
darthfodder 12 năm trước cách đây
mục cha
commit
2bdc4b04a8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/modules/sound/SoundData.cpp

+ 1 - 1
src/modules/sound/SoundData.cpp

@@ -154,7 +154,7 @@ int SoundData::getSampleCount() const
 
 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)