Skip to content

Can't initialize new AudioTrack instance #1

Description

@MasterEx

How to reproduce:

Click the Start/Stop button many times. App crashes.

The exception is thrown on AudioGenerator createPlayer().

The exception is about that:
AudioFlinger could not create track, status: -12
[android.media.AudioTrack ] Error code -20 when initializing AudioTrack.

Not sure why this is happening. My guess is that the AudioTrack binds some resources that later aren't properly released.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions