refactor(audio): enhance audio buffering and interpolation methods
- Updated audio buffering strategy to ensure smooth playback by always queuing samples and implementing dynamic rate control. - Introduced Hermite interpolation for audio resampling, providing better quality than linear interpolation. - Adjusted audio debug logging for improved monitoring of audio states and buffer management. Benefits: - Improved audio playback quality and reduced glitches. - Enhanced clarity in audio debugging and monitoring processes.
This commit is contained in:
@@ -43,10 +43,6 @@ void PerformanceProfiler::EndTimer(const std::string& operation_name) {
|
||||
auto timer_iter = active_timers_.find(operation_name);
|
||||
if (timer_iter == active_timers_.end()) {
|
||||
// During shutdown, silently ignore missing timers to avoid log spam
|
||||
if (!is_shutting_down_) {
|
||||
LOG_DEBUG("PerformanceProfiler", "EndTimer called for operation '%s' that was not started",
|
||||
operation_name.c_str());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user