From 5d7571114e2621eeda85d3c4784b9dd5df2f8853 Mon Sep 17 00:00:00 2001 From: Kelebek1 Date: Sat, 16 Sep 2023 20:48:45 +0100 Subject: Do not consider voice commands in time estimation, fix adpcm estimate --- src/audio_core/renderer/command/command_processing_time_estimator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/audio_core/renderer/command') diff --git a/src/audio_core/renderer/command/command_processing_time_estimator.cpp b/src/audio_core/renderer/command/command_processing_time_estimator.cpp index a48a016b1..0f7aff1b4 100644 --- a/src/audio_core/renderer/command/command_processing_time_estimator.cpp +++ b/src/audio_core/renderer/command/command_processing_time_estimator.cpp @@ -27,12 +27,12 @@ u32 CommandProcessingTimeEstimatorVersion1::Estimate( u32 CommandProcessingTimeEstimatorVersion1::Estimate( const AdpcmDataSourceVersion1Command& command) const { - return static_cast(command.pitch * 0.25f * 1.2f); + return static_cast(command.pitch * 0.46f * 1.2f); } u32 CommandProcessingTimeEstimatorVersion1::Estimate( const AdpcmDataSourceVersion2Command& command) const { - return static_cast(command.pitch * 0.25f * 1.2f); + return static_cast(command.pitch * 0.46f * 1.2f); } u32 CommandProcessingTimeEstimatorVersion1::Estimate( -- cgit v1.2.3