Skip to content

Releases: RageAgainstThePixel/com.utilities.audio

com.utilities.audio 3.0.3

25 Jan 22:02
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

  • com.utilities.audio 3.0.3 by @StephenHodgson in #61
    • Fixed StreamAudioSource buffer 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 calling EnsureQueueInitialized() instead of unconditionally creating new queue
    • Added IsCreated guards in OnDestroy() to prevent crashes when disposing uninitialized queue
    • Fixed fire-and-forget async pattern with proper exception logging in SampleCallback methods
    • Optimized resampling path to avoid unnecessary NativeArray allocations when sample rates match
    • Added early break on first underrun in OnAudioFilterRead() to avoid unnecessary TryDequeue calls
    • Reorganized test infrastructure into Tests/Editor/ and Tests/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

Full Changelog: 3.0.2...3.0.3

com.utilities.audio 3.0.2

09 Dec 12:53
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

What's Changed

  • com.utilities.audio 3.0.2 by @StephenHodgson in #59
    • tweak AbstractStreamRecordingBehaviour to better match loopback recording
    • Ensured all NativeArray allocations for PCM encoding, decoding, and resampling in PCMEncoder.cs are properly disposed to prevent memory leaks. This includes wrapping allocations in try/finally blocks and disposing of temporary arrays after use.
    • Updated DecodeFromPCM in AudioClipExtensions.cs to dispose of
    • native arrays after setting audio data, further improving memory management.
    • Added a check in Decode to 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

03 Nov 20:17
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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

02 Nov 06:36
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

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 AudioReactiveBehavour example script to show how to drive animations and values from OnAudioFilterRead using the recorded microphone data
    • 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

23 Oct 12:19

Choose a tag to compare

What's Changed

  • make PCMEncoder.ctor public

Full Changelog: 2.3.0...2.3.1

com.utilities.audio 2.3.0

22 Oct 02:32

Choose a tag to compare

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

25 Jul 17:24

Choose a tag to compare

What's Changed

  • init dynCalls immediately if not in a pthread

Full Changelog: 2.2.7...2.2.8

com.utilities.audio 2.2.7

04 Jul 19:30

Choose a tag to compare

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

01 Jul 02:27

Choose a tag to compare

What's Changed

  • bump deps

Full Changelog: 2.2.5...2.2.6

com.utilities.audio 2.2.5

27 May 04:35

Choose a tag to compare

What's Changed

  • fix webgl audio getting cut off
  • fix webgl wasm table entry

Full Changelog: 2.2.4...2.2.5