Add end-of-line spaces checker

This commit is contained in:
SirLynix
2024-01-26 10:43:00 +01:00
parent 63c61c0827
commit 6757de1be8
90 changed files with 170 additions and 126 deletions

View File

@@ -87,7 +87,7 @@ namespace Nz
format = AudioFormat::I16_Mono;
sampleCount = wav.totalPCMFrameCount;
}
return std::make_shared<SoundBuffer>(format, sampleCount, wav.sampleRate, samples.get());
}

View File

@@ -242,7 +242,7 @@ namespace Nz
format = AudioFormat::I16_Mono;
sampleCount = frameCount;
}
return std::make_shared<SoundBuffer>(format, sampleCount, sampleRate, samples.get());
}

View File

@@ -166,7 +166,7 @@ namespace Nz
format = AudioFormat::I16_Mono;
sampleCount = frameCount;
}
return std::make_shared<SoundBuffer>(format, sampleCount, info->rate, samples.get());
}

View File

@@ -112,7 +112,7 @@ namespace Nz
format = AudioFormat::I16_Mono;
sampleCount = frameCount;
}
return std::make_shared<SoundBuffer>(format, sampleCount, info.hz, info.buffer);
}

View File

@@ -30,7 +30,7 @@ namespace Nz
Music(*Audio::Instance()->GetDefaultDevice())
{
}
Music::Music(AudioDevice& device) :
SoundEmitter(device),
m_streaming(false),