summaryrefslogtreecommitdiffstats
path: root/servers/audio/audio_driver_dummy.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-26 11:26:17 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-26 11:46:12 +0200
commitc92a6c7e27cc51e1161425fd2d6e85a63d4b81fb (patch)
tree34723cd4b44ad4df067d8af4402613997d63d76f /servers/audio/audio_driver_dummy.cpp
parentf7c567e2f56d6e63f4749387a67e5ea4903c4696 (diff)
downloadredot-engine-c92a6c7e27cc51e1161425fd2d6e85a63d4b81fb.tar.gz
CI: Update `clang-format` pre-commit hook to 19.1.0
Diffstat (limited to 'servers/audio/audio_driver_dummy.cpp')
-rw-r--r--servers/audio/audio_driver_dummy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/audio/audio_driver_dummy.cpp b/servers/audio/audio_driver_dummy.cpp
index e1bfcbaca1..d41aa752ed 100644
--- a/servers/audio/audio_driver_dummy.cpp
+++ b/servers/audio/audio_driver_dummy.cpp
@@ -45,7 +45,7 @@ Error AudioDriverDummy::init() {
}
channels = get_channels();
- samples_in = memnew_arr(int32_t, (size_t)buffer_frames * channels);
+ samples_in = memnew_arr(int32_t, size_t(buffer_frames) * channels);
if (use_threads) {
thread.start(AudioDriverDummy::thread_func, this);