浏览代码

Merge pull request #104239 from Ivorforce/optimize-undenormalize

Optimize reverb by removing stray `volatile` from the `undenormalize` function signature.
Thaddeus Crews 5 月之前
父节点
当前提交
53608e3376
共有 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/typedefs.h"
 
-static inline float undenormalize(volatile float f) {
+static _FORCE_INLINE_ float undenormalize(float f) {
 	union {
 		uint32_t i;
 		float f;