fix double promotions
Found with -Wdouble-promotion Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -195,7 +195,7 @@ AudioOutputSource::FilterChunk(const MusicChunk &chunk)
|
||||
only if the mix ratio is non-negative; a
|
||||
negative mix ratio is a MixRamp special
|
||||
case */
|
||||
mix_ratio = 1.0 - mix_ratio;
|
||||
mix_ratio = 1.0f - mix_ratio;
|
||||
|
||||
void *dest = cross_fade_buffer.Get(other_data.size);
|
||||
memcpy(dest, other_data.data, other_data.size);
|
||||
|
Reference in New Issue
Block a user