Commit e7ba6a15 authored by David Reid's avatar David Reid

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

Public issue https://github.com/mackron/miniaudio/issues/221
parent 05357d9f
...@@ -22248,6 +22248,10 @@ static ma_result ma_device_stop__pulse(ma_device* pDevice) ...@@ -22248,6 +22248,10 @@ static ma_result ma_device_stop__pulse(ma_device* pDevice)
} }
} }
if (pDevice->onStop != NULL) {
pDevice->onStop(pDevice);
}
return result; return result;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment