From 7d12ececd8bf7db3dcfd568613344c61b477b35c Mon Sep 17 00:00:00 2001 From: Daniel Tyomin Date: Tue, 20 Aug 2024 12:19:19 +0200 Subject: [PATCH] disabled pooling to ensure audio in build --- Assets/Scripts/NAudio.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/NAudio.cs b/Assets/Scripts/NAudio.cs index ba1d1f0..5aeb10c 100644 --- a/Assets/Scripts/NAudio.cs +++ b/Assets/Scripts/NAudio.cs @@ -10,7 +10,7 @@ /// Pooling creates a few sources on start and saves them in a queue, reusing them on every play, /// so sources are not created and destroyed every time played, freeing GC. /// If you don't want to use pooling, comment this line: -#define POOLING +//#define POOLING /// If you are using native audio spatializer, uncomment following line. It will enable spatialization in sources //#define ENABLE_SPATIALIZER_API