mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1134977 - Release IAudioStreamVolume when closing WASAPI stream. Refixes bug 1109802. r=padenot
This commit is contained in:
parent
5925d0d089
commit
9cfaa9f421
@ -1155,6 +1155,9 @@ void close_wasapi_stream(cubeb_stream * stm)
|
||||
SafeRelease(stm->render_client);
|
||||
stm->render_client = NULL;
|
||||
|
||||
SafeRelease(stm->audio_stream_volume);
|
||||
stm->audio_stream_volume = NULL;
|
||||
|
||||
if (stm->resampler) {
|
||||
cubeb_resampler_destroy(stm->resampler);
|
||||
stm->resampler = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user