PulseAudio: Fix a bug where the stop callback isn't fired.

Public issue https://github.com/mackron/miniaudio/issues/221
This commit is contained in:
David Reid
2020-11-14 09:49:09 +10:00
parent 05357d9f54
commit e7ba6a1512
+4
View File
@@ -22248,6 +22248,10 @@ static ma_result ma_device_stop__pulse(ma_device* pDevice)
}
}
if (pDevice->onStop != NULL) {
pDevice->onStop(pDevice);
}
return result;
}