Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headset Volume gets very loud in the beginning when starting a song #11

Open
NWuensche opened this issue Sep 27, 2018 · 0 comments
Open

Comments

@NWuensche
Copy link

So I have this issue for the stock version of Eleven on LineageOS 14.1, as well as for this repo.

When I start the app and plug headphones in, I sometimes get a very high volume peak in the beginning of the playback. It's there for a fraction of a second, and then playback gets back to normal volume.
This happens sometimes when I skip to the next/previous song or when I press on the play/pause button really fast.
I even tried to change MultiPlayer.setVolume in MusicPlaybackService to:

public void setVolume(final float vol) {
            mCurrentMediaPlayer.setVolume(0f, 0f);
}

When doing this, the music is silent for most of the time, but I still get these peaks. I even tried turning of the volume of the music volume bar, as well as turning my device into "do not distract me"-mode. However, I still get these high volume peaks.
My phone is the Moto G2 (thea) with Lineage 14.1.

Is this a bug in Android or really just in Eleven? I tried the same procedure in VLC, but there I don't get this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant