test/run_output: call AudioOutput::Drain()

This commit is contained in:
Max Kellermann 2021-03-08 22:20:54 +01:00
parent 798e68ef62
commit d19b3df3b0
1 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,8 @@ RunOutput(AudioOutput &ao, AudioFormat audio_format,
buffer.Consume(consumed); buffer.Consume(consumed);
} }
ao.Drain();
} }
int main(int argc, char **argv) int main(int argc, char **argv)