Releases: birdofpreyru/react-native-audio
Releases · birdofpreyru/react-native-audio
v1.9.0
v1.8.0
v1.7.7
- [#19] Android: Patches SamplePlayer.play() — it missed to resolve its promise when the playback was started successfully.
v1.7.6
- iOS: Patches SamplePlayer.play() to ensure that in case of an error the original error code from
AVAudioEngine
is passed to RN layer with the error.
v1.7.5
- [#18] Patches SamplePlayer for Android 11.
- Updates dependencies.
v1.7.4
- iOS: SamplePlayer is re-implemented, to achieve smooth experience when samples need to be played with a low latency, and accurate timing, in a short succession.
v1.7.3
- Updates dependencies.
v1.7.2
- [#13] Adds .addErrorListener() and .removeErrorListener() methods to SamplePlayer — they are intended to get notifications about any errors during the playback, but require further work to ensure that all possible errors are routed to them.
- [#14] Fixes library installation into projects without
pod-install
dependency — Thanks to @Siminn-teiturg for reporting it & PR #15. - iOS: configAudioSystem() sets
AVAudioSessionCategoryOptionOverrideMutedMicrophoneInterruption
option, if supported, to allow for simultaneous playback & audio input. - Updates dependencies.
v1.7.1
- [#12] iOS: Patches SamplePlayer to avoid audible "clicks" when a sample playback is restarted (i.e. when either a sample is being played, and
play()
is called again for this sample; or when a sample is being played and a combo ofstop()
andplay()
is called for the sample in a quick succession). Note, in such case it will take 0.1 second to gracefully stop the previous playback (fading out the sound over 0.1 sec. to avoid the "click"), and only then the new playback starts. If stopping a previous playback for this sample is not needed, the new playback starts immediately, with no delay. - Updates dependencies.
v1.7.0
- Adds SamplePlayer class.
- Updates dependencies.