Plexamp Android Playback Speed Changing randomly

Plexamp has been randomly changing playback speed on my Android phone.

Not really sure how to change it back other than clearing the app’s cache/data and logging in again.

Looks like at least one other individual has the same issue: https://www.reddit.com/r/plexamp/comments/v9xdhs/playback_speed/

The playback speed doesn’t change randomly that we’ve heard of before; it might be an Android audio system issue, battery save issue, or something else entirely, but it’s very likely to be Plexamp changing the speed randomly, especially if it’s showing 1.0x.

You haven’t provided any details (logs, hardware, OS) to allow us to venture anything other than guesses :sweat_smile:

Android 13, Samsung Galaxy S22+

Happened today around about 1-2 hours ago, phone died, plugged it into a charger, and started it back up. Playback speed was off for several songs. Battery percentage was probably under 10%. Now it seems to be working fine, with battery around 50% but battery saver mode on.

How can I send the logs in?

Plexamp logs.

We don’t recommend battery saver mode on for the app, if that’s what you mean.

Logs: [link removed]

There’s no evidence in here that Plexamp ever thinks it’s playing at a rate other than 100%.

1 Like

Thanks for taking a look. Next time it happens, I’ll pay more attention to see if I can provide more detailed repro steps.

Just happened again, just before 18:30 local time.
Battery saver mode was off, battery was at 88%. Connected to a JBL Charge 5 Bluetooth speaker. I disabled Bluetooth, playback resumed to normal. Playback stayed normal when I re-enabled Bluetooth and reconnected to the speaker.

Logs:. https://drive.google.com/file/d/1k57mbJWOZzWqzjQEjBqb742_gHtsPrbI/view?usp=drivesdk

The only thing I see happening during that time period is a bunch of route switching, which is as you describe.

Feb 04, 2023 18:04:16.677 [Javascript] INFO - Audio Route: Local route changed to Phone (Phone)
Feb 04, 2023 18:06:57.959 [Javascript] INFO - Audio Route: Local route changed to JBL Charge 5 (Bluetooth)
Feb 04, 2023 18:06:57.959 [Javascript] INFO - Audio Route: Local route changed to JBL Charge 5 (Bluetooth)
Feb 04, 2023 18:30:37.756 [Javascript] INFO - Audio Route: Local route changed to Phone (Phone)
Feb 04, 2023 18:30:37.757 [Javascript] INFO - Audio Route: Local route changed to Phone (Phone)

We’re not “in the loop” with audio as it gets switched around, so this seems like an Android/speaker issue and nothing to do with the app.

I’d agree with you, except this issue seems to be limited to Plexamp. I’ve used several other music players and have only experienced the issue with Plexamp.

I’ll report back if I can figure out any other clues.

1 Like

I believe you, the other thing you might want to try is switching the audio interface from OpenSL to AAudio or vice versa. We use the audio at a fairly low level, which might have an effect of behavior.

1 Like

Good call. Currently using AAudio, just switched to OpenSL ES.

OpenSL is the older one, but that might be a good thing in this case :sweat_smile:

Happened again. 38% battery, battery saver mode off.

Toggling between AAudio and OpenES makes no difference. Neither does pausing playback or skipping to the next song.

Playing the exact same song in YouTube and MediaMonkey, song is played at original speed.

Was able to restore original playback speed in Plexamp by disconnecting the Bluetooth speaker and starting playback again.

Also reviewing Plexamp’s playback speed control, it’s set to 1x. Changing to 0.7x/0.8x will slow the speed down somewhat, but going back to 1x, does not make the issue go away.

Yeah, it’s not Plexamp getting confused here from what I can tell.

I’m honestly not sure what’s going on here, it almost sounds like the sample rate is changing between 44.1 and 48 when you’re switching and somehow that’s not adjusting properly, I just don’t how why that would be and how we would detect/fix.

I do have Loudness Leveling, Sweet fades and the limiter enabled.

The majority of my library is 44.1 songs, but about 5% are 48 songs.

Maybe it’s an issue when a fade is performed from/into 44.1 and 48 songs?

i highly doubt it as we resample in the pipeline so everything exits at the same sample rate.

I’ve just seen the playback speed change randomly myself, on iOS.

I had the silence compression function active.
I increased the playback speed slightly.
The playback speed slider started wiggling and jiggling.
It even slid all the way off the screen to the right!

I’ll try to get a screen recording and a sample clip.
(And maybe logs, but that’s so boring.)

That sounds very different; in your case, you were playing with the playback speed. Above, it wasn’t even touched.