alsa-pcm: also follow resampler insize when resampling

Use the input size of the resampler as the amount of samples to
read when we are resampling.
This commit is contained in:
Wim Taymans 2020-07-27 15:56:20 +02:00
parent 4a8afe389c
commit 8f3771a56c
2 changed files with 8 additions and 5 deletions

View file

@ -144,6 +144,7 @@ struct state {
unsigned int alsa_recovering:1;
unsigned int following:1;
unsigned int matching:1;
unsigned int resample:1;
int64_t sample_count;