From: Marc-André Lureau Date: Thu, 15 Jan 2026 11:51:21 +0000 (+0400) Subject: audio/adlib: drop ts_helper HWVoice field X-Git-Tag: v11.0.0-rc0~55^2~82 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5cd053a09fd66a69ade2bd8b393b8f4419c2b06;p=thirdparty%2Fqemu.git audio/adlib: drop ts_helper HWVoice field Previous commits made this dead code. Reviewed-by: Mark Cave-Ayland Reviewed-by: Akihiko Odaki Signed-off-by: Marc-André Lureau --- diff --git a/audio/audio.c b/audio/audio.c index b7a28f79d4f..a218570a4f4 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -1240,7 +1240,6 @@ static void audio_run_out(AudioBackend *s) #endif if (played) { - hw->ts_helper += played; audio_capture_mix_and_clear (hw, prev_rpos, played); } @@ -1320,7 +1319,6 @@ static void audio_run_in(AudioBackend *s) min = audio_pcm_hw_find_min_in (hw); hw->total_samples_captured += captured - min; - hw->ts_helper += captured; for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { sw->total_hw_samples_acquired -= min; diff --git a/audio/audio_int.h b/audio/audio_int.h index b2b8002477c..20b4c87b0b6 100644 --- a/audio/audio_int.h +++ b/audio/audio_int.h @@ -77,7 +77,6 @@ typedef struct HWVoiceOut { struct audio_pcm_info info; f_sample *clip; - uint64_t ts_helper; STSampleBuffer mix_buf; void *buf_emul; @@ -99,7 +98,6 @@ typedef struct HWVoiceIn { t_sample *conv; size_t total_samples_captured; - uint64_t ts_helper; STSampleBuffer conv_buf; void *buf_emul;