diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-25 10:42:20 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-11-25 10:42:20 +0100 |
commit | d9faf6f2f40a09c109179713a61ed36504fa1df3 (patch) | |
tree | bfae0c8679ec25dee1adb5d374005cb5b9125f4a /drivers/coreaudio | |
parent | faf5ac8d540361d910e18af1603f56ce9725387b (diff) | |
download | redot-engine-d9faf6f2f40a09c109179713a61ed36504fa1df3.tar.gz |
Fix build on macOS and Android after bc2e8d99
Diffstat (limited to 'drivers/coreaudio')
-rw-r--r-- | drivers/coreaudio/audio_driver_coreaudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/coreaudio/audio_driver_coreaudio.cpp b/drivers/coreaudio/audio_driver_coreaudio.cpp index c531d6af9d..313704ae2e 100644 --- a/drivers/coreaudio/audio_driver_coreaudio.cpp +++ b/drivers/coreaudio/audio_driver_coreaudio.cpp @@ -220,7 +220,7 @@ OSStatus AudioDriverCoreAudio::output_callback(void *inRefCon, while (frames_left) { 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++) { |