{"repo":"IvanMurzak/Unity-AudioLoader","free":true,"listed":false,"github":"https://github.com/IvanMurzak/Unity-AudioLoader","clone":"git clone https://github.com/IvanMurzak/Unity-AudioLoader.git","description":"Asynchronous audio loading from remote or local destination. It has two layers of configurable cache system: RAM and Disk.","language":"C#","stars":46,"topics":["audio","unity","unity-plugin","unity-plugins","unity3d","unity3d-plugin"],"license":"MIT","category":"game-templates","readme_excerpt":"Audio Loader Asynchronous audio loading from remote or local destination. It has two layers of configurable cache system: RAM and Disk. Features - ✔️ Async loading from Web or Local AudioLoader.LoadAudioClip(audioURL); - ✔️ Memory and Disk caching - tries to load from memory first, then from disk - ✔️ Dedicated thread for disk operations - ✔️ Avoids loading same audio multiple times simultaneously, a task waits for completion the first and just returns loaded audio if at least one cache layer activated - ✔️ Auto set to AudioSource AudioLoader.SetAudioSource(audioURL, audioSource); - ✔️ Debug level for logging AudioLoader.settings.debugLevel = DebugLevel.Error; Usage In the main thread somewhere at the start of the project need to call AudioLoader.Init(); once to initialize static properties in the right thread. It is required to be made in the main thread. Then you can use AudioLoader from any thread and at any time. Sample - Loading audio file, set to AudioSource Sample - Loading audio into multiple Audio components Cache Cache system based on the two layers. The first layer is memory cache , and the second is disk cache . Each layer could be enabled or disabled. It could be used without caching at all. By default, both layers are enabled. Setup Cache - AudioLoader.settings.useMemoryCache = true; default value is true - AudioLoader.settings.useDiskCache = true; default value is true Change disk cache folder: Override Cache Does Cache contain audio Clear Cache Installation Op","default_branch":null,"files":null,"tree":[],"storefront":"/r/IvanMurzak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IvanMurzak/Unity-AudioLoader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}