diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-07-10 19:23:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-10 19:23:09 -0500 |
| commit | f76ab863266d012281e52bceda355bc72f36edb8 (patch) | |
| tree | b783bb0b9e3aa2f91ae35e5c4ecad0ef268d2c7d /Source/Core | |
| parent | 29964ff55e85434848f5c1e7b541030f09567001 (diff) | |
| parent | 8d2a15be3f8f9e3f5bc1620cf11603b2a910bd56 (diff) | |
Merge pull request #13800 from ITotalJustice/master
AudioCommon/Mixer: make large array in Mixer::MixerFifo::Enqueue() static so that it's not created on the stack.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/AudioCommon/Mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Mixer.cpp b/Source/Core/AudioCommon/Mixer.cpp index b981ebf45b..ce2a3e429e 100644 --- a/Source/Core/AudioCommon/Mixer.cpp +++ b/Source/Core/AudioCommon/Mixer.cpp @@ -452,7 +452,7 @@ void Mixer::MixerFifo::Enqueue() // elements = ", ".join([f"{x:.10f}f" for x in window]) // print(f'constexpr std::array<StereoPair, GRANULE_SIZE> GRANULE_WINDOW = {{ {elements} // }};') - constexpr std::array<StereoPair, GRANULE_SIZE> GRANULE_WINDOW = { + static constexpr std::array<StereoPair, GRANULE_SIZE> GRANULE_WINDOW = { 0.0000016272f, 0.0000050749f, 0.0000113187f, 0.0000216492f, 0.0000377350f, 0.0000616906f, 0.0000961509f, 0.0001443499f, 0.0002102045f, 0.0002984010f, 0.0004144844f, 0.0005649486f, 0.0007573262f, 0.0010002765f, 0.0013036694f, 0.0016786636f, 0.0021377783f, 0.0026949534f, |
