mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 03:35:27 +00:00
And now Clang's noticed questionable type conversions
This commit is contained in:
parent
9638fbabb4
commit
dd18e17c97
@ -18,8 +18,8 @@ namespace MWSound
|
|||||||
std::size_t numSamples = bytesToFrames(mQueue.size(), mChannelConfig, mSampleType);
|
std::size_t numSamples = bytesToFrames(mQueue.size(), mChannelConfig, mSampleType);
|
||||||
std::size_t advance = framesToBytes(1, mChannelConfig, mSampleType);
|
std::size_t advance = framesToBytes(1, mChannelConfig, mSampleType);
|
||||||
|
|
||||||
int segment = 0;
|
std::size_t segment = 0;
|
||||||
int sample = 0;
|
std::size_t sample = 0;
|
||||||
while (segment < numSamples / samplesPerSegment)
|
while (segment < numSamples / samplesPerSegment)
|
||||||
{
|
{
|
||||||
float sum = 0;
|
float sum = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user