ryanheise / just_audio

Audio Player
1.05k stars 672 forks source link

Problem with volume level when Equalizer is enabled #859

Open te8uekm12 opened 1 year ago

te8uekm12 commented 1 year ago

Which API doesn't behave as documented, and how does it misbehave? Name here the specific methods or fields that are not behaving as documented, and explain clearly what is happening.

Method: AudioPlayer.play() for audio player configured with AndroidEqualizer enabled.

Description: When equalizer is enabled each subsequent call to AudioPlayer.play method starts playing sound file with higher volume at the begining. When I disable equalizer problem disappears.

Minimal reproduction project Provide a link here using one of two options:

  1. Fork this repository and modify the example to reproduce the bug, then provide a link here.

https://github.com/te8uekm12/just_audio

  1. If the unmodified official example already reproduces the bug, just write "The example".

Steps to reproduce the behavior:

Error messages

Expected behavior The same volume level when playing wav file as is when I play the file without equalizer enabled.

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Flutter SDK version

Flutter (Channel stable, 3.3.6, on Microsoft

Additional context

github-actions[bot] commented 1 year ago

Oops, it appears that your issue did not follow the template and is missing one or more required sections. Please open a new issue, and provide all required sections and information.

FAQ:

  1. Do I really need to submit a minimal reproduction project for a bug? A: Yes. I prioritise bugs secondarily on how many people are affected, and primarily on whether the bug report is complete, in the sense that it enables me to immediately reproduce it and start working on a fix. If a bug is important to you, the best thing you can do is to provide all requested information ASAP so that I can start looking into it ASAP.

  2. I think I supplied all required information, so did the bot make a mistake? A: The bot only checks the section headings, so when you post a new issue, make sure you leave the section headings intact. (Note that because of this, it is even possible to trick the bot by including only the section headings, and then not providing the requested information under each heading. This is frowned upon, and the issue will be closed manually.)

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with just_audio.