[HELP] Audio Volume buttons on Android
See original GitHub issueWhen using android phones, we use the volume key (at the side of the phone) to change volumes. Usually, when we press that key, it showed that we are changing the volume of “ring bell”. When watching youtube, it showed that we are changing the volume of “media”. When watching taking a phone call, it showed that we are changing the volume of “phone call”.
However, when I use flutter_sound 5.1.1
to record (startRecorder
) or play sounds startPlayer
, it always showed that I’m changing the volume of “phone call”.
Device: Physical device, Samsung Galaxy S8
This issue happened when I was using flutter_sound 3.x.x
and it was fixed in 4.x.x
.
I’ve tried to change audioSource: AudioSource.microphone
but it doesn’t works.
Also, the output voice came out from the speaker, not from the ear part, but still far lower than expected.
Anyone knows why this happened?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top GitHub Comments
I cannot reproduce this bug any more on V 6.1.1
@tonypottera24 , @Mateis , Could you kindly verify that this bug is now fixed ?
Note, I use the following parameters in
openAudioSession()
:Solved everything. Much love.