mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Correctly use alcGetIntegerv.
This commit is contained in:
parent
638ea3111f
commit
e6df927e30
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ void Instance::Inner::timeout() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ALint samples;
|
ALint samples;
|
||||||
alcGetIntegerv(d->device, ALC_CAPTURE_SAMPLES, sizeof(samples), &samples);
|
alcGetIntegerv(d->device, ALC_CAPTURE_SAMPLES, 1, &samples);
|
||||||
if (ErrorHappened(d->device)) {
|
if (ErrorHappened(d->device)) {
|
||||||
fail();
|
fail();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue