PortAudio / portaudio

PortAudio is a cross-platform, open-source C language library for real-time audio input and output.
Other
1.49k stars 307 forks source link

paloopback: fix wrong test duration #781

Closed dechamps closed 1 year ago

dechamps commented 1 year ago

This fixes a regression introduced in 5b5feb3 where, during sample rate testing, the test duration would be computed based on the global sample rate instead of the chosen sample rate, resulting in the test running for too long or not long enough depending on the sample rate being tested. The main symptom is that paloopback would complain about timeouts when testing sample rates 8000, 11000 and 16000.