Browse Source

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>
master
Marc-André Lureau 3 months ago
parent
commit
f5cd053a09
  1. 2
      audio/audio.c
  2. 2
      audio/audio_int.h

2
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
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;

Loading…
Cancel
Save