AudioEnginePlus 2.0.0-alpha для Minecraft 1.21.11 (Fabric)
Это не последняя версия. Последняя для 1.21.11 · Fabric — 4.0.0-alphaОткрыть 4.0.0-alpha →
Тестовая версия — возможны ошибки.
Файлы · 1
Что изменилось
AudioEnginePlus v2.0 Alpha — Changelog
v2.0 Alpha — Performance & Stability Overhaul
✨ New
SessionSoundCache— new session-scoped sound cache with lifecycle managementAsyncAudioWorkerManager— centralized async worker lifecycle managerLodBufferLibrary— full LOD buffer library with distance-based PCM generationNativeMemoryTracker— improved native memory tracking and ByteBuffer managementStreamingBufferQueue— streaming audio buffer queue for continuous playbackRayLodStrategy— integrated LOD-level selection in occlusion raycasting
⚡ Performance
- Thread-safety overhaul: all critical paths (dedup, cache, async, occlusion) now use proper locking and concurrent data structures
- Shutdown safety: graceful teardown with ordered subsystem shutdown sequence
- Native memory management:
ByteBufferNativeAccessrefactored for direct buffer allocation, zero-copy patterns, and proper deallocation - Async audio worker: complete rewrite with
AsyncAudioWorkerManagerfor better worker pool lifecycle - Occlusion engine:
OcclusionCacherewritten with world-tick-based reset,ChunkSnapshotfor thread-safe chunk access,DdaRaycasteroptimizations - Sound deduplication:
SoundDeduplicatorrefactored for O(1) lookup with eviction,SoundEventKeystreamlined - PCM buffer cache: improved caching strategy, async preloading enhancements, resource reload listener support
- Source pooling:
SmartChannelAccessandSourceEvictionPolicyoptimized for category-based priority eviction - Sound Physics Remastered compat: improved conditional integration
🔧 Changes
- Removed:
ChannelAccessMixin(Phase 1 mixin consolidated),PooledSoundHandle(replaced by pooled instance ref pattern) - Updated:
fabric.mod.json,AEPConfigvalidation,AudioEnginePlusCliententry point withCLIENT_STOPPINGhandler - Config:
AEPConfigsections aligned to phases 1–4 with proper clamping invalidate()