Important: Please read the Qt Code of Conduct -

Multiple SoundEffect on Android doesn't work

  • Using multile SoundEffect on Android allow play around the first 5 different sounds but after this all sounds stop working. Looking in the logcat console it return this error:

    E AudioTrack: AudioFlinger could not create track, status: -12
    E libOpenSLES: AudioTrack::initCheck status 4294967284
    W libOpenSLES: Leaving Object::Realize (SL_RESULT_CONTENT_UNSUPPORTED)

    The error -12 mean "out of memory". That is a very big problem cause it became SoundEffect not usable on Android system. Someone know a workaround to this problem?
    Thank you

Log in to reply