浏览代码

Optimize reverb by removing stray `volatile` from the `undenormalize` function signature.

Lukas Tenbrink 5 月之前
父节点
当前提交
a9745aac5c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/math/audio_frame.h

+ 1 - 1
core/math/audio_frame.h

@@ -33,7 +33,7 @@
 #include "core/math/vector2.h"
 #include "core/math/vector2.h"
 #include "core/typedefs.h"
 #include "core/typedefs.h"
 
 
-static inline float undenormalize(volatile float f) {
+static _FORCE_INLINE_ float undenormalize(float f) {
 	union {
 	union {
 		uint32_t i;
 		uint32_t i;
 		float f;
 		float f;