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

chrono is stealing audio focus (not sure if that's the correct terminology?) after an alarm rings #305

Open
atom-smasher opened this issue Jun 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@atom-smasher
Copy link

Describe the bug
chrono is stealing audio focus (not sure if that's the correct terminology?) after an alarm rings.

To Reproduce
Steps to reproduce the behavior:

  1. Play music from a music app
  2. Stop/pause the music, from the music app
  3. Have chrono ring an alarm
  4. Use a bluetooth device (speaker, headphone) to "Play" (re-start) the music - it fails

Expected behavior
After an alarm rings, I would expect that whatever music player was previously playing music would continue to respond to a bluetooth device's "Play" button.

Screenshots
N/A

Smartphone Information

  • Motorola Moto G8 Power (Resurrection Remix)
  • Android 10
  • App version: 0.5.1

Additional context
I noticed that chrono is using "media" audio, not "alarm" audio. See screenshot. First bar is "app volume" for chrono; 2nd bar is "media volume", which the alarm sound is connected to; 4th bar is "alarm volume", which chrono is not connected to, but maybe it should be?

Screenshot_20240630-232823883

@atom-smasher atom-smasher added the bug Something isn't working label Jun 30, 2024
@AhsanSarwar45
Copy link
Collaborator

Hi thanks for the report, I'll try reproducing it on my end. For the audio channel, it should default to the alarm channel, unless you have set it as media in the settings. Can you check the alarm settings under Sound and Vibrations > Audio Channel and make sure its set to alarm?

@atom-smasher
Copy link
Author

I can confirm: From an alarm:
Sound and Vibration → More → Audio Channel: Alarm

But it seems that the alarm is actually using the "media" channel.

v0.5.2-beta1

@atom-smasher
Copy link
Author

Still an issue with v0.6.0-beta1.

Setting the alarm to "Alarm" channel still plays the alarm on the "Media" channel.

Screenshot_20241001-135048513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants