audio/adlib: drop ts_helper HWVoice field
Previous commits made this dead code. Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com> Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Marc-André Lureau committed
Jan 15, 2026 at 15:51 UTC
f5cd053a09fd66a69ade2bd8b393b8f4419c2b06
2 files changed
-4
audio/audio.c
-2
@@ -1240,7 +1240,6 @@ static void audio_run_out(AudioBackend *s)
1240
#endif
1241
1242
if (played) {
1243
- hw->ts_helper += played;
1243
audio_capture_mix_and_clear (hw, prev_rpos, played);
1244
}
1245
@@ -1320,7 +1319,6 @@ static void audio_run_in(AudioBackend *s)
1319
1320
min = audio_pcm_hw_find_min_in (hw);
1321
hw->total_samples_captured += captured - min;
1323
- hw->ts_helper += captured;
1322
1323
for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) {
1324
sw->total_hw_samples_acquired -= min;
audio/audio_int.h
-2
@@ -77,7 +77,6 @@ typedef struct HWVoiceOut {
77
struct audio_pcm_info info;
78
79
f_sample *clip;
80
- uint64_t ts_helper;
80
81
STSampleBuffer mix_buf;
82
void *buf_emul;
@@ -99,7 +98,6 @@ typedef struct HWVoiceIn {
98
t_sample *conv;
99
100
size_t total_samples_captured;
102
- uint64_t ts_helper;
101
102
STSampleBuffer conv_buf;
103
void *buf_emul;