Skip to content

Load multiple audio files at the same time #127

@Tobertet

Description

@Tobertet

Describe the bug
On Android, calling multiple NativeAudio.preload(...) one after the other works like a charm. However, on iOS there is a native error that crashes the app. They need to be loaded and awaited 1 by 1.

To Reproduce
Steps to reproduce the behavior:

  1. Preload 5 audio files one after the other on iOS

Expected behavior
It shouldn't crash.

Desktop (please complete the following information):

  • OS: iOS

Smartphone (please complete the following information):

  • Device: emulator iphone 16
  • OS: iOS 8.4
  • Browser safari

Here is the error I am seeing in XCode NativeAudio.preloadAsset(_:isComplex:)
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSTaggedDate count]: unrecognized selector sent to instance 0x8000000000000000'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions