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

Alarm raises volume to 100% while media is playing through earbuds (hurts eardrums) #404

Open
gayprogrammer opened this issue Jun 2, 2017 · 4 comments

Comments

@gayprogrammer
Copy link

While listening to media using earbuds (bluetooth or wired), an xDrip alarm causes xDrip to raise media volume to 100%. This results in painfully high volume in my ears.
Android has separate volumes for Ring, Notification, Media, and Alarms. Is xDrip using the correct method to create an alarm sound?
If no other change to the way that alarm audio is triggered, can we add the option to not raise media volume to 100%? Or an option to not do so while headphones are plugged in?

@tzachi-dar
Copy link
Collaborator

tzachi-dar commented Jun 3, 2017 via email

@gayprogrammer
Copy link
Author

gayprogrammer commented Jun 5, 2017

@tzachi-dar Thank you for that suggestion. I will change my xDrip alerts profile to ascending. However, the core problem is that xDrip still changes media volume while media is playing. The effect of ascending alerts profile is that now media suddenly becomes inaudible (volume drops to 0%) when an alert starts.

My use case is that I would like to listen to media, and receive an alert on the same device. So, I would not like xDrip to interfere with media volume.

@pietrasagh
Copy link

pietrasagh commented Jun 3, 2019

This is very enjoying bug in Xdrip and is not solved for years. As many others. Developers seems to focus on adding more and more features instead of fixing bugs in existing ones.
Issue is that xdrip is upsing wrong "channel"
for alerts. Instead of "alarm" it is playing in "multimedia". Alerts sounds are much launder than usual music. That's why it's so loud during playback. I'm sure developers know about it but care.
There is also problem with snoozing alerts with volume buttons. It simply doesn't work. It is practically impossible it snooze alert without unlocking phone, opening xdrip, going through menus and selecting alert to snooze. "Very easy" to do while driving car, on meeting...

@jamorham
Copy link
Collaborator

jamorham commented Jun 3, 2019

Please use Nightscout xDrip+, the old StephenBlack xDrip has not been maintained for some years.

https://github.com/NightscoutFoundation/xDrip

xDrip+ has an option for alarms to be forced via speaker instead of headphones. You can silence alerts from the lockscreen by simply swiping them off. Android doesn't give developers access to the volume buttons except when the app is open. Using the volume buttons when the xDrip home screen is showing will silence alerts.

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

4 participants