Prestissimo icon indicating copy to clipboard operation
Prestissimo copied to clipboard

play() called on uninitialized AudioTrack.

Open theboubougne opened this issue 11 years ago • 3 comments

Some users of my app are having an issue on line 242. Right now I'm only having a couple of users with this issue, but they cannot play anything with prestissimo enabled. Of course I cannot replicate this issue...

public void start() {
    switch (mCurrentState) {
    case STATE_PREPARED:
    case STATE_PLAYBACK_COMPLETED:
        mCurrentState = STATE_STARTED;
        Log.d(SoundService.TAG_API, "State changed to STATE_STARTED");
        mContinue = true;
        mTrack.play();   <=
        decode();

I'm having an issue on L242

theboubougne avatar Dec 11 '13 21:12 theboubougne

Unfortunately without a logcat or more precise reproduction steps, there's not much I can do for this. Let me know if you find out anything more.

TheRealFalcon avatar Dec 16 '13 04:12 TheRealFalcon

User are telling me they have this issue when doing play / pause pretty fast. I can reproduce this issue if I do:

this.mediaPlayer.start(); this.mediaPlayer.pause(); this.mediaPlayer.start();

theboubougne avatar Dec 27 '13 23:12 theboubougne

Same problem here. When I enter my app and press play instantly, there is simply no sound and the app has to be killed manually to beeing usable again.

PaulWoitaschek avatar Nov 03 '14 12:11 PaulWoitaschek