mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 00:33:01 +00:00
AudioBackend.cpp: Implicit enum to float conversions are deprecated
This commit is contained in:
parent
cc71d2c4bf
commit
758902382d
@ -14,7 +14,7 @@ u32 AudioBackend::get_sampling_rate()
|
||||
|
||||
const f32 sampling_period_multiplier = sampling_period_multiplier_u32 / 100.0f;
|
||||
const f32 sampling_rate_multiplier = 1.0f / sampling_period_multiplier;
|
||||
return static_cast<u32>(DEFAULT_AUDIO_SAMPLING_RATE * sampling_rate_multiplier);
|
||||
return static_cast<u32>(f32{DEFAULT_AUDIO_SAMPLING_RATE} * sampling_rate_multiplier);
|
||||
}
|
||||
|
||||
u32 AudioBackend::get_sample_size()
|
||||
|
Loading…
x
Reference in New Issue
Block a user