Previous commits made this dead code.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
---
audio/audio_int.h | 2 --
audio/audio.c | 2 --
2 files changed, 4 deletions(-)
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;
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;
--
2.53.0