I have not tested these changes. It really depends if you want intrinsics or not; let me know to continue or not. This patch is not to be accepted as-is.
The android build does not compile if the mixer is changed, so that will be reverted.
The old function lrint throws exceptions on invalid inputs, and my guess is that is an incidental consequence rather than something cubeb is looking for. The intrinsic does not throw.
I have not tested these changes. It really depends if you want intrinsics or not; let me know to continue or not. This patch is not to be accepted as-is.
The android build does not compile if the mixer is changed, so that will be reverted.
The old function lrint throws exceptions on invalid inputs, and my guess is that is an incidental consequence rather than something cubeb is looking for. The intrinsic does not throw.