Prestissimo
Prestissimo copied to clipboard
play() called on uninitialized AudioTrack.
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
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.
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();
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.