diff options
| author | sanikoyes | 2017-02-07 15:44:46 +0800 |
|---|---|---|
| committer | sanikoyes | 2017-02-07 15:44:46 +0800 |
| commit | 16b3973c75b6d72ff944bc205b8637554cf9a06d (patch) | |
| tree | f4a356fc99faa495a96d0790837abafaa54eeb27 /servers/audio/effects/eq.cpp | |
| parent | 6bfaa0f12c65947ab0f124ec4c75345bd1332b77 (diff) | |
| download | godot-16b3973c75b6d72ff944bc205b8637554cf9a06d.tar.gz godot-16b3973c75b6d72ff944bc205b8637554cf9a06d.tar.zst godot-16b3973c75b6d72ff944bc205b8637554cf9a06d.zip | |
Fix msvc compile error
Diffstat (limited to '')
| -rw-r--r-- | servers/audio/effects/eq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/audio/effects/eq.cpp b/servers/audio/effects/eq.cpp index a6499a66b..5aab60a55 100644 --- a/servers/audio/effects/eq.cpp +++ b/servers/audio/effects/eq.cpp @@ -47,7 +47,7 @@ EQ::BandProcess::BandProcess() { void EQ::recalculate_band_coefficients() { -#define BAND_LOG( m_f ) ( log((m_f)) / log(2) ) +#define BAND_LOG( m_f ) ( log((m_f)) / log(2.) ) for (int i=0;i<band.size();i++) { |
