Releases: RageAgainstThePixel/com.utilities.audio
Releases · RageAgainstThePixel/com.utilities.audio
com.utilities.audio 3.0.3
Immutable
release. Only release title and notes can be modified.
What's Changed
- com.utilities.audio 3.0.3 by @StephenHodgson in #61
- Fixed
StreamAudioSourcebuffer underrun to prevent audio clicks/pops by zeroing buffers on underrun - Optimized buffer clearing to only clear remaining elements on underrun instead of entire buffer each frame
- Fixed memory leak in
Awake()by callingEnsureQueueInitialized()instead of unconditionally creating new queue - Added
IsCreatedguards inOnDestroy()to prevent crashes when disposing uninitialized queue - Fixed fire-and-forget async pattern with proper exception logging in
SampleCallbackmethods - Optimized resampling path to avoid unnecessary
NativeArrayallocations when sample rates match - Added early break on first underrun in
OnAudioFilterRead()to avoid unnecessaryTryDequeuecalls - Reorganized test infrastructure into
Tests/Editor/andTests/Runtime/with proper assembly definitions - Unit Tests 36 tests (32 edit-mode, 4 play-mode) covering underrun handling, allocation efficiency, exception handling, and memory cleanup
- Fixed
Full Changelog: 3.0.2...3.0.3
com.utilities.audio 3.0.2
Immutable
release. Only release title and notes can be modified.
What's Changed
- com.utilities.audio 3.0.2 by @StephenHodgson in #59
- tweak AbstractStreamRecordingBehaviour to better match loopback recording
- Ensured all
NativeArrayallocations for PCM encoding, decoding, and resampling inPCMEncoder.csare properly disposed to prevent memory leaks. This includes wrapping allocations in try/finally blocks and disposing of temporary arrays after use. - Updated
DecodeFromPCMinAudioClipExtensions.csto dispose of - native arrays after setting audio data, further improving memory management.
- Added a check in
Decodeto handle empty PCM data arrays gracefully, returning an empty array instead of throwing - Updated the streaming recording callback to pass both the recording and output sample rates, enabling more accurate processing
- updated com.utilities.extensions 1.3.8
Full Changelog: 3.0.1...3.0.2
com.utilities.audio 3.0.1
Immutable
release. Only release title and notes can be modified.
What's Changed
- com.utilities.audio 3.0.1 by @StephenHodgson in #57
- some bug fixes for NativeArray allocators when processing data on background threads
- bug fixes for StreamingAudioSource, cleanup and dispose of generated NativeArrays
- updated docs
Full Changelog: 3.0.0...3.0.1
com.utilities.audio 3.0.0
Immutable
release. Only release title and notes can be modified.
What's Changed
- com.utilities.audio 3.0.0 by @StephenHodgson in #54
- Updated Abstract Recording Behaviours to use new Input System by default
- Updates sample scenes
-
- Added status text to prompt user to record
-
- Added
AudioReactiveBehavourexample script to show how to drive animations and values fromOnAudioFilterReadusing the recorded microphone data
- Added
- Refactor Encoder/Decoder Implementation with
NativeArray<byte>for increased performance and ease of use - Fixed WebGL audio getting cut off, clipped during streaming playback
- com.utilities.async -> 3.0.2
- com.utilities.extensions -> 1.3.6
Full Changelog: 2.3.1...3.0.0
com.utilities.audio 2.3.1
com.utilities.audio 2.3.0
What's Changed
- fixed webgl UnityMicrophoneLibrary.jspre function name collisions
- update validation workflows
- updated unity editor to 2021.3.45f2 (88f88f591b2e)
Full Changelog: 2.2.8...2.3.0
com.utilities.audio 2.2.8
com.utilities.audio 2.2.7
What's Changed
- fix webgl support with multithreaded enabled
- updated deps
Full Changelog: 2.2.6...2.2.7
com.utilities.audio 2.2.6
com.utilities.audio 2.2.5
What's Changed
- fix webgl audio getting cut off
- fix webgl wasm table entry
Full Changelog: 2.2.4...2.2.5