- Home /
Question by
Tomas Sakalauskas · Mar 15, 2015 at 07:03 PM ·
audioperformancewindows phone 8
OnAudioFilterRead causes unneccessary GC on WP8?
OnAudioFilterRead does not seem to reuse buffers on WP8. This causes unnecessary GC in a game when using DSP. Visual studio profiler shows large allocation/deallocation of Single[], those allocations disappear if all OnAudioFilterRead are commented out.
Unity 4.6.2p1
Any ideas how to work around the problem?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613190137im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
I need a way to run code much more frequently than update. Ideally, every 3 milliseconds 2 Answers
Bad audio quality performance 0 Answers
Concern about Audio Performance 1 Answer
iPhone best Audio Compression for in Game Sounds like Shoot or Hit 2 Answers
How to make sure iOS Audio Hardware Decode worked? 0 Answers