mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00:00
Correctly use alcGetIntegerv.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user