Version 2.4.1: Fix capture error reporting.

This commit is contained in:
John Preston 2020-10-01 18:46:22 +03:00
parent 4e1904b137
commit 04212140cc

View file

@ -220,7 +220,7 @@ void Instance::Inner::fail() {
void Instance::Inner::start(Fn<void(Update)> updated, Fn<void()> error) {
_updated = std::move(updated);
_error = std::move(_error);
_error = std::move(error);
// Start OpenAL Capture
d->device = alcCaptureOpenDevice(nullptr, kCaptureFrequency, AL_FORMAT_MONO16, kCaptureFrequency / 5);