mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Fix formatting to be like original default
--HG-- branch : sounddata-samplecount
This commit is contained in:
@@ -154,7 +154,7 @@ int SoundData::getSampleCount() const
|
|||||||
|
|
||||||
float SoundData::getDuration() 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)
|
void SoundData::setSample(int i, float sample)
|
||||||
|
|||||||
Reference in New Issue
Block a user