mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 03:24:32 -05:00
Fix build on macOS and Android after bc2e8d99
This commit is contained in:
parent
faf5ac8d54
commit
d9faf6f2f4
2 changed files with 2 additions and 2 deletions
|
@ -220,7 +220,7 @@ OSStatus AudioDriverCoreAudio::output_callback(void *inRefCon,
|
||||||
while (frames_left) {
|
while (frames_left) {
|
||||||
|
|
||||||
int frames = MIN(frames_left, ad->buffer_frames);
|
int frames = MIN(frames_left, ad->buffer_frames);
|
||||||
ad->audio_server_process(frames, ad->samples_in.ptr());
|
ad->audio_server_process(frames, ad->samples_in.ptrw());
|
||||||
|
|
||||||
for (int j = 0; j < frames * ad->channels; j++) {
|
for (int j = 0; j < frames * ad->channels; j++) {
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ bool JavaClass::_call_method(JavaObject *p_instance, const StringName &p_method,
|
||||||
r_error.argument = pc;
|
r_error.argument = pc;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
uint32_t *ptypes = E->get().param_types.ptr();
|
uint32_t *ptypes = E->get().param_types.ptrw();
|
||||||
bool valid = true;
|
bool valid = true;
|
||||||
|
|
||||||
for (int i = 0; i < pc; i++) {
|
for (int i = 0; i < pc; i++) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue