mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Version 2.4.1: Fix capture error reporting.
This commit is contained in:
parent
4e1904b137
commit
04212140cc
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ void Instance::Inner::fail() {
|
||||||
|
|
||||||
void Instance::Inner::start(Fn<void(Update)> updated, Fn<void()> error) {
|
void Instance::Inner::start(Fn<void(Update)> updated, Fn<void()> error) {
|
||||||
_updated = std::move(updated);
|
_updated = std::move(updated);
|
||||||
_error = std::move(_error);
|
_error = std::move(error);
|
||||||
|
|
||||||
// Start OpenAL Capture
|
// Start OpenAL Capture
|
||||||
d->device = alcCaptureOpenDevice(nullptr, kCaptureFrequency, AL_FORMAT_MONO16, kCaptureFrequency / 5);
|
d->device = alcCaptureOpenDevice(nullptr, kCaptureFrequency, AL_FORMAT_MONO16, kCaptureFrequency / 5);
|
||||||
|
|
Loading…
Add table
Reference in a new issue