Sfoglia il codice sorgente

Fix formatting to be like original default

--HG--
branch : sounddata-samplecount
darthfodder 12 anni fa
parent
commit
2bdc4b04a8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)