Audio API 1.0.1

v1.​0.​1Patch Release

A patch release focused on recording and playback state. On iOS, pausing an AudioRecorder no longer stops audio that is already playing, and on Android a paused recorder releases the microphone. A paused AudioBufferQueueSourceNode plays again after resume(), and notification transport buttons work on older Android versions.

Features

  • Keep the Android audio callback thread on a single CPU core and re-pin it when the system moves it, which cuts the underruns heard as crackling (#1410)

Fixes

iOS

  • Pausing an AudioRecorder suspends only the microphone input, so audio that is already playing keeps playing. Previously it paused the whole engine (#1424)
  • When the audio engine is rebuilt after a route change or an interruption, the recorder learns about the new input format before the engine starts, and an engine start that fails without an error is reported as a failure instead of a running engine (#1408)

Android

  • AudioRecorder.pause() stops the capture stream, so the microphone is released while paused, and stop() closes it (#1413)
  • Notification transport buttons work on older Android versions, which deliver them as MEDIA_BUTTON intents, and the playback notification looks right there too (#1426, closes #1273)

All platforms

  • A paused AudioBufferQueueSourceNode plays again after resume(). Scheduled sources now have a real paused state, and a stop time set while paused still applies (#1436)
  • disconnect() could remove the wrong connection or crash when the audio graph was compacted before the audio thread handled it (#1406)
  • decodeAudioData copies its input before decoding in the background, so changing the ArrayBuffer right after the call no longer affects the result (#1432)

Build

  • Android builds on Windows find mkdir, rm and unzip when Gradle is started from PowerShell or cmd (#1425, closes #1385)
  • Prebuilt binary downloads retry up to three times, so a short GitHub outage no longer fails the build (#1421)

Other changes

  • Fix the iOS native test suite (#1270)

Full changelog

Release card
Audio API 1.0.1 release card