Add end-of-line spaces checker
This commit is contained in:
@@ -87,7 +87,7 @@ namespace Nz
|
||||
format = AudioFormat::I16_Mono;
|
||||
sampleCount = wav.totalPCMFrameCount;
|
||||
}
|
||||
|
||||
|
||||
return std::make_shared<SoundBuffer>(format, sampleCount, wav.sampleRate, samples.get());
|
||||
}
|
||||
|
||||
|
||||
@@ -242,7 +242,7 @@ namespace Nz
|
||||
format = AudioFormat::I16_Mono;
|
||||
sampleCount = frameCount;
|
||||
}
|
||||
|
||||
|
||||
return std::make_shared<SoundBuffer>(format, sampleCount, sampleRate, samples.get());
|
||||
}
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ namespace Nz
|
||||
format = AudioFormat::I16_Mono;
|
||||
sampleCount = frameCount;
|
||||
}
|
||||
|
||||
|
||||
return std::make_shared<SoundBuffer>(format, sampleCount, info->rate, samples.get());
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace Nz
|
||||
format = AudioFormat::I16_Mono;
|
||||
sampleCount = frameCount;
|
||||
}
|
||||
|
||||
|
||||
return std::make_shared<SoundBuffer>(format, sampleCount, info.hz, info.buffer);
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Nz
|
||||
Music(*Audio::Instance()->GetDefaultDevice())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Music::Music(AudioDevice& device) :
|
||||
SoundEmitter(device),
|
||||
m_streaming(false),
|
||||
|
||||
Reference in New Issue
Block a user