Which app is playing sound ? (Sound logging / debug) - Android Q&A, Help & Troubleshooting

Hello,
from time to time my S5 is playing a sound and i don#t know what app is doing that.
Some time ago it was for example a NFC-Kredit-Card near the Phone.
Now when i am driving the phone doing a "Popp" - Noise .... sometimes in step of a seconds than only after minutes, even if i have all sound sliders on Zero, so sound is disabled.
Yes, I checked background Prozesses (a lot).
Yes, I have uninstalled APPs that could causing it.
I am looking for an option, a log, debug-mode, a app, eg. that is showing me what app is playing sound on a android phone.
Is there something like that ?
Kind regards
Willi

Related

Music volume fluctuates when GPS speaks

So, I just recently got a Samsung Galaxy S3 and I installed the same music application to my phone that I had before (HTC Desire). I never had a problem like this before. My problem is that, while playing music, the GPS interrupts the currently playing song (which is fine), but then there is an EXTRA interruption after this which also causes the song to play at a slight low volume, THEN return to normal volume shortly after. I remember that there was an option to enable/disable volume loudness protection or whatever and I THINK this is the culprit. BUT I CAN'T FIND THIS SETTING ANYMORE!! Does anyone know a solution to this problem? This has been bugging me for FOREVER. I use my GPS often because I often drive to locations I've never been for or barely go to, so this is a REAL pain in the buttocks. -- I also will be using it for the next few days!! :crying: So I would like to fix this, but if there's no fix, I guess I can bare through it for the next few days...
Running Serenity ROM v1.2 with Ktoonsez kernel.
EDIT: Forgot to also mention that this SOMETIMES happens with notifications and such, so I do not think it is the GPS's fault either.
EDIT2: Clarification: Want to get rid of that annoying second interruption that I mentioned earlier!! --I looked in developer options, sound, and EVERYTHING....still couldn't find it...
EDIT3: I searched online and nothing popped up useful (I think I wasn't searching with the right keywords. Kept getting results referring to headset not having any sound at all which is not right.)

No audio from browser, audio player but phone works. possibly skype related.

Hey together. I'm a noob *duck* - but I did quite some search on google and on these forums before posting, and I'm not a very stupid noob.
Today I got the situation that no audio is audible any longer from my browser, games, audio apps, or from an audio player (all of them previously worked). This is the case for headphone and also the built in speaker. The problem occurred very likely after using skype. I also still have audio in phone calls and also I still have sound for ringtones and other alarms. Handset functioms all still work fine.
The first obvious thing I did was checking volume settings in the android settings. There I moved all sliders - the one responsible for regular audio did not give me any feedback. If I use the volume buttons on the phone while I'm on my home screen I get audible feedback - but that doesn't influence my problem.
Funnily the sound in skype still works. More funnily: during skype calls the audio from my browser or the audio player is also audible (I tried this just out of couriousity as I suspected Skype to be the cause of my problem. Et voila - I got sound from a TV News page and also from the Walkman app while the call on skype was still running. As soon as the call in Skype ended the audio from browser and adio player got muted again.
I also tried to kill skype during a call in order to kill it before it can again mute the audio - No luck. as soon as the skype app is killed also the audio from audio player and Browser vanishes.
I also tried some audio apps - all have the same issue of having no sound.
I then tried different apps which control volumes - without any luck. So at the moment I don't have audio, except during skype calls.
I guess that skype has either access to some hardware settings which aren't used usually (I hated skype for things like this as long as it had existed) - or I'm missing something very obvious. Or something else. Does anybody of the developers here know about linux settings I could modify? (is there something like alsamixer which is only possible to access via jni or similar?)
// Edit:
Just found out that toggling airplane mode ON I have sound for media (audio player, browser). (but also lose the ability to use my cellphone and network). As soon as I switch back to airplainmode OFF also audio is muted again. And for sure - I also tried rebooting in different states of my phone quite often without any difference.
// Edit 2:
looks like I found a workaround but no permanent solution - I installed an app SoundAbout (free app) recommended for similar problems in an other thread: 89996-galaxy-s3-media-volume-stuck-mute.html (I have now put output permanently to "headphones" for media sounds. However as soon as this setting is reset to the default (let app decide) it is muted again when airplane mod is set to off - looks like an other app resets it? (could not find any app obviously doing this though as I stopped the usual suspects)
I still suspect Skype as the original reason for this problem as I just recently had it updated when the problem appeard and it also messes with this kind of stuff during usage (and I don't really use other apps dealing with audio except of browser, music player which weren't updated for a long time).
Maybe also of concern:
It's an sony xperia p, running Android 4.0.3 and it is currently rooted.

[Q] Stopping notifications interrupting music without putting phone on mute mode

I think this may be a Samsung generic problem, but does anyone know if there is a way to stop notifications interrupting music playback without having to mute the phone? Really annoying having to do this every time.
xavier2k3 said:
I think this may be a Samsung generic problem, but does anyone know if there is a way to stop notifications interrupting music playback without having to mute the phone? Really annoying having to do this every time.
Click to expand...
Click to collapse
I have exactly the same problem - it was not an issue when I was on the HTC One (M7). The S6 is a lovely phone, but I really want control over this.
The fix I have at the moment is the "Don't Pause" app, which detects when you are listening to music and puts the phone on vibrate, but what I really want is a subtle audio notification which does not pause the music or interrupt my podcast.
https://play.google.com/store/apps/details?id=com.pierceholdings.dontpause&hl=en
jeffhughes said:
I have exactly the same problem - it was not an issue when I was on the HTC One (M7). The S6 is a lovely phone, but I really want control over this.
The fix I have at the moment is the "Don't Pause" app, which detects when you are listening to music and puts the phone on vibrate, but what I really want is a subtle audio notification which does not pause the music or interrupt my podcast.
https://play.google.com/store/apps/details?id=com.pierceholdings.dontpause&hl=en
Click to expand...
Click to collapse
Thanks for the tip. Yeh, I'm coming from an M8 and it used to just play the notification over the top of the music which was fine as you usually couldn't even hear it anyway. I'll check out that app.
Thanks!
Seems to me like a software feature. Using the stock music player, notifications would pause the playback of music and then resume after. I didn't like this behavior either. I started using Poweramp. It has a "Short Audio Focus Change" option that I turn off. Now my notifications play over top of music.
DliciousFish said:
Seems to me like a software feature. Using the stock music player, notifications would pause the playback of music and then resume after. I didn't like this behavior either. I started using Poweramp. It has a "Short Audio Focus Change" option that I turn off. Now my notifications play over top of music.
Click to expand...
Click to collapse
I also come from HTC and this issue is driving me nuts. Even when notifications are muted my device is pausing when I use Google Messenger to SEND a text message. I've no idea why sending a message would cause my music player (Spotify) to pause briefly.
The same when I use my watch's "ok Google" feature - the music on my phone stops playing... that makes no sense to me. Why would the "ok google" feature of the watch pause the music on my phone while listening?
This also happens on Google Play Music. Really annoying.
transfo47 said:
This also happens on Google Play Music. Really annoying.
Click to expand...
Click to collapse
If you use Lightflow, you may be able to do this by setting up your app notifications in Lightflow and then selecting "Audio Focus Ignored" in the Labs tab in Lightflow and it may fix it.
I know it worked on my Nexus 5 but I'm unsure whether it will work on the S6. It's worth a try if you're already using Lightflow for LED control.
More people are joining...and the plot thickens:silly:
dlotters said:
I also come from HTC and this issue is driving me nuts. Even when notifications are muted my device is pausing when I use Google Messenger to SEND a text message. I've no idea why sending a message would cause my music player (Spotify) to pause briefly.
The same when I use my watch's "ok Google" feature - the music on my phone stops playing... that makes no sense to me. Why would the "ok google" feature of the watch pause the music on my phone while listening?
Click to expand...
Click to collapse
Disable the outgoing sound in the settings of Google messenger to get rid of that issue.. But as for the rest, I've learned to live with it.
elpindian said:
Disable the outgoing sound in the settings of Google messenger to get rid of that issue.. But as for the rest, I've learned to live with it.
Click to expand...
Click to collapse
Thanks for the tip!
Sent from my Galaxy S6 Edge
This is the most annoying thing ever about the Samsung S6. I just got it recently having switched from a One Plus One. Now I remember why I left Samsung before. This has been a recurring issue since the S1. On top of that, the audio notifications seem to be delayed and come after the vibration i.e. phone vibrates then and then the sound comes when a notification occurs.
Has anyone also experienced when headphones are plugged in with music playing and a notification occurs, the headphones cut off and music plays from the speakers?? This is especially frustrating when I'm on the bus or a quiet place.
Samsung really needs to fix this annoying issue.
hello everyone, i also was going through this annoying problem but for me i found the best solution on my galaxy s6, when im listening to my music . I went to settings clicked "sounds and notifications" then clicked "do not disturb" and turned it on . then scroll down on exeptions and u can turn off alarm , calls, messages . The cool thing is the notifications go throw u can see your notification light blinking and with no interruptions and once you stop listening to your music turn off "do not disturb" and everything back to normal. To me its the easy way on my galaxy s6 with out downloading extra apps and it works great ...
Hope it helped you guys out and can enjoy your music without any interruptions
Just to say "me too!". Sooooo annoying when listening to music or audio books. Can we some how let Samsung know about this?
xavier2k3 said:
I think this may be a Samsung generic problem, but does anyone know if there is a way to stop notifications interrupting music playback without having to mute the phone? Really annoying having to do this every time.
Click to expand...
Click to collapse
I use Tasker to put my phone into "do not disturb" mode when my headphones are plugged in. I had it set up to go silent when I had my music app open before and found the headphone thing to be more effective. I haven't tried to just make it quieter, but it's probably possible.
Something to mess around with. Plus, Tasker does a ton of other cool stuff. Totally worth the $3 for the level of automation they offer.
DliciousFish said:
Seems to me like a software feature. Using the stock music player, notifications would pause the playback of music and then resume after. I didn't like this behavior either. I started using Poweramp. It has a "Short Audio Focus Change" option that I turn off. Now my notifications play over top of music.
Click to expand...
Click to collapse
Thank you that's been annoying the hell out of me but have changed settings now thank you! ?
This issue is still not resolved I take it? I cannot for the life of me figure out how to turn that crap off on my A3. I'm using Google Music.
When I listen to music the only thing that should interrupt is high priority communication. Basicly just phone calls and emergency/gouvernmental alerts. Evertything else is low-priority communications and won't ever take precedence over my music but I don't want to turn the notifications off completely.
The guy who figures having random whatsapp messages disturb your music experience obviously doesn't use his phone for listening to music while participating in several Whatsapp groups.
Hii everyone
I was facing same issue in Mi Max MIUI 8 running android MM.
I started using music folder player 2.1.4
preferences->behavior->handle audio focus->choose ignore audio focus.
Music didnt pause by incoming msgs (text,whatsapp, mails, etc).
Thanks.
Please share ur experience.
DliciousFish said:
Seems to me like a software feature. Using the stock music player, notifications would pause the playback of music and then resume after. I didn't like this behavior either. I started using Poweramp. It has a "Short Audio Focus Change" option that I turn off. Now my notifications play over top of music.
Click to expand...
Click to collapse
Wow you solved this for me after years of looking for a solution! Thanks!
For anyone interested, in Poweramp, go to Settings > Audio > Audio Focus and uncheck "Short Audio Focus Change"
Uconnect/ Bluetooth devices
I FOUND A FIX.
For me, using the Uconnect setup incoming sms message announcement did NOT work. It works ONLY for when you are listening to the radio. I like to use my music apps on my phone like Apple Music and like other people, Samsung Milk Music or others and when listening to this I would still get the extremely frustrating "New SMS message from (insert name) press uconnect phone button to..." blah blah and whenever I hit cancel to escape that long interrupt it would take 10 seconds to get back to my music and sometimes it would pause my music and while driving you cant simply go back in and play it. I figited with EVERYTHING. I tried the uconnect manual, I tried to disable notifications for both my message+ app I use and Apple Music and neither worked but the answer was much more simple than I thought. Here it is: go to your settings that has all the options like wifi, airplane mode etc... tap your bluetooth option and it should pull up not only the uconnect you have paired but all the otger bluetooth things you have paired. Next to it is a gear icon. Tap on that and it will appear all the thing uconnect has access to like media audio (music, videos) call audio, contact access and MESSAGE ACCESS. TURN THAT OFF. THIS WILL STOP INTERRUPTIONS DURING YOUR MUSIC APPS AND SUCH.
I have not used this with other bluetooth devices but it worked for my car and I hope it works for you too.

Streaming music cuts out via bluetooth

Hey everyone,
When I have my phone connected up to Bluetooth in my car I can stream music (from andrewhaug.com app) for about 5-10 minutes before the music stops. If I wake the device it will resume streaming. Has anyone experianced this behaviour? Is there any kind of setting that I need to look at?
Im running DevBase 5.9.
I have tried resetting the Bluetooth settings but to no avail.
I have noticed possible similar behavior. When using my s9 plus verizon with my 2012 infiniti g37 randomly the Bluetooth music will skip on Spotify(every couple of minutes the music I'll pause for a second almost like a skipping CD) Never experienced this with my s8 or s7. Its always been like this with my s9. Never changed any settings or bothered looking into it.
So, somewhat of an update.
Over the past week I have noticed that the music streaming only cuts out IF the app is not the main focus. What I mean by that is; the app has to be running in full screen, like any normal app, BUT, if you exit out of it to the Home screen or go into another app and then lock the phone, that is when the music stops after a certain amount of time. Even though the app has a background service running, for some reason, its not the main app in focus, it gets put to sleep/kills the resources for it.
A bit of a weird quirk. Not sure if its an Android thing or an app thing.
Put the app out of battery optimisation & allow its background activity
RISHI RAJ said:
Put the app out of battery optimisation & allow its background activity
Click to expand...
Click to collapse
I have battery optimization turned off for all apps.
Another interesting issue is when I'm streaming music, a call comes through, and when its done, the music doesn't resume playing. If I resume it like normal, it then stops like the original problem.
I can restart the phone and then it doesn't have a problem.

9.1.0.326 (C432E4R1P12) killing apps in background? (even more then ever before)

Hello there,
I've recently updated to 9.1.0.326 (C432E4R1P12).
Noticed few slight visiual changes and a bit faster (smother?) navigating through system. Maybe thanks to EROFS?
But main downside and reason why I started this thread is that it started killing apps in background in brutal way.
Most noticeable PowerAmp (yes, i have exception in power optimisation for it and also the second thingy you need to do, in order to keep it from getting killed by aggressive huawei strategies) - was working just fine for last year.
Now, headphones plugged in, music playing, no other apps running. Switch screen off -> after about 10 sec, music stops. Switch screen on -> music starts to play again.
Also, headphones in, start poweramp, play music. Open chrome or Facebook (or pretty much anything else for what i can tell), after about 10 sec on a different app on screen -> music stops. Switch back to poweramp -> music starts playing immediately on it's own again.
Doesn't happen with default music app though. Maybe, because it's whitelisted in power genie?
Anyone having similar issues?
i don't know if powergenie is causing trouble. I have no problem with deezer or podcast addict (need exception in battery settings)
Removing Power genie by following this https://forum.xda-developers.com/mate-20-pro/themes/remove-powergenie-to-allow-background-t3890409 did the trick.
I would prefer not to remove it, but since I can't edit the whitelisted apps I have no other choice right now.

Categories

Resources