Commit aa4bea91 authored by Silvio Lazzeretti's avatar Silvio Lazzeretti

audioutilsprivate: restore thread priority before ending

The priority of the thread that executes audioringbuffer_thread_func
is incremented on Windows by the usage of the AvSetMmThreadCharacteristics
API. This change has to be restored, as described on the documentation
of the API (,
with a call to the AvRevertMmThreadCharacteristics. If this is not done,
a handle will be leaked.

Part-of: <!760>
parent f0a99070
Pipeline #178683 passed with stages
in 31 minutes and 14 seconds