mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user