[Q] Music randomly stops playing - HTC One Mini 2

Sometimes when the network connection changes from H<>3G PowerAmp stops playing my music. The same happens to the stock audio player. I can reproduce this by just turning mobile data on/off but not always. Sometimes it looks like i can not reproduce it anymore until a few minutes later after exploring the settings app a bit it can be reproduced again. It's the same issue as described here. It doesn't matter if earphones are plugged in or not.
I have tried to disable certain apps like Google Play but it didn't help. Unfortunately i can not disable every app. Google Play Service for example can not be deactivated.
The only way to keep the music playing while i am on the move is to enable flight mode which is a really lame workaround. Is anyone else having this issue?
My phone is on stock, unlocked bootloader, with SuperSU and Adaway installed. Not sure if this issue was present before i unlocked the phone but i never saw this before and i was using it a lot for playing music while i am out.

Using superuser with locked bootloader? If you didn't unlock your bootloader you can't have root > having superuser is useless
Poweramp: in advanced settings, audio, set buffer to highest level and see if it solves the problem... Same happened to me, and solved by changing poweramp buffer size
FCKöln said:
Sometimes when the network connection changes from H<>3G PowerAmp stops playing my music. The same happens to the stock audio player. I can reproduce this by just turning mobile data on/off but not always. Sometimes it looks like i can not reproduce it anymore until a few minutes later after exploring the settings app a bit it can be reproduced again. It's the same issue as described here. It doesn't matter if earphones are plugged in or not.
I have tried to disable certain apps like Google Play but it didn't help. Unfortunately i can not disable every app. Google Play Service for example can not be deactivated.
The only way to keep the music playing while i am on the move is to enable flight mode which is a really lame workaround. Is anyone else having this issue?
My phone is on stock, unlocked, with SuperSU and Adaway installed. Not sure if this issue was present before i unlocked the phone but i never saw this before and i was using it a lot for playing music while i am out.
Click to expand...
Click to collapse

Bootloader is unlocked using htcdev. I only forgot to mention it correctly (fixed now).
I have already set the buffer size to 500ms. Everything below 500ms causes audio glitches on this device. Anyway, i tried changing the value without luck. I also enabled the wake locks in the advanced settings but it doesn't help. As i said, it happens with the default music player as well.

It seems that i have figured it out. I had an app called XBMC Music Pump installed which requrests the audio focus everytime something changes on the network. Most likely a bug... already contacted the developers.
Code:
10-20 21:31:04.446: I/MediaFocusControl(1152): AudioFocus requestAudioFocus() from [email protected][email protected]
10-20 21:31:04.446: I/MusicPumpXBMC(11233): Successfully requested audio focus

Related

music Interruption

I use the adapter that came with my ATT fuze to play music in my car. I'm happy that this has no noticable effect on my battery life . (I've only really used the HTC music app that's standard on the device). One issue i'm having though, is that the music undergoes (at what seems to be at random times) pauses. The music picks back up after about 10-15 seconds. I assume this is a software issue? Has anyone else had this happen or know of a fix?
Oh, its not a phone call, text or any other notification. I know the music interrupts for these.
rhoff412 said:
I use the adapter that came with my ATT fuze to play music in my car. I'm happy that this has no noticable effect on my battery life . (I've only really used the HTC music app that's standard on the device). One issue i'm having though, is that the music undergoes (at what seems to be at random times) pauses. The music picks back up after about 10-15 seconds. I assume this is a software issue? Has anyone else had this happen or know of a fix?
Oh, its not a phone call, text or any other notification. I know the music interrupts for these.
Click to expand...
Click to collapse
Mine does the exact same thing. Ive used the TF3D player as well as WMP. On both, skips occur.
My music is WMA 192Kbps. I was planning on using this as my primary music player, but i guess ill use my Zune for music (sounds better anyways, but the TP has excellent audio quality, suprisingly). This alone kills its music capability for me.
I would try disabling TF3D and use WMP to play music for a day and see if it continues. Since its the only thing running on my device, it is either that or the device itself.
rom?
Are you using the stock rom? I would like to know if it is likely the rom is the culprit, because I should be flashing a new one soon thanks to all the help I got here. Anyway, I wonder if there are any out there with the Raphael that do not rock the stock rom that could let me know if they experience the same issue. hmm... for once I hope my carrier sucks and its their problem not HTC.
rhoff412 said:
Are you using the stock rom? I would like to know if it is likely the rom is the culprit, because I should be flashing a new one soon thanks to all the help I got here. Anyway, I wonder if there are any out there with the Raphael that do not rock the stock rom that could let me know if they experience the same issue. hmm... for once I hope my carrier sucks and its their problem not HTC.
Click to expand...
Click to collapse
That might be a possibility. Im on JDs rom. Ive used other roms but never tested audio playback with the other roms. As for me, theres skipping with JDs rom. Ive heard of this before with the diamond.
Other oppinions would be great. Even a quick test for those who dont use their phones for music would be greatly appreciated.
try turning off wifi while listening
Ive switched to a new rom (eRice) which is a completely empty ROM built on 20931.
The music still skips using the built in HTC player.
I also tried it out using Pocket Player, setting the buffer to the highest setting and the skips still occur.
WiFi is off. I also had bluetooth off and the skips still occur.
I tried with both players soft resetting into standard home with no TF3D and the skips still occured with both players.
I also attempted to use it while in airplane mode and it still skipped.
r3ferrei said:
Ive switched to a new rom (eRice) which is a completely empty ROM built on 20931.
The music still skips using the built in HTC player.
I also tried it out using Pocket Player, setting the buffer to the highest setting and the skips still occur.
WiFi is off. I also had bluetooth off and the skips still occur.
I tried with both players soft resetting into standard home with no TF3D and the skips still occured with both players.
I also attempted to use it while in airplane mode and it still skipped.
Click to expand...
Click to collapse
HAve you tried moving the music to your phone storage then playing? Have you tried swapping SD memory for something a little quicker?
revalation
I was just thinking. Though I am using the stock rom, I still have kaiser tweaks on it and that has a registry change that affects power: turn of sd when not in use. Its possible that this is it. I'll let everyone know my findings once I test it a few times. studying for finals so I have alot of time sitting around in boderline quiet to hear these things.
findings
First and foremost. Can anyone reading this that has noticed any other links addressing this issue post them please?
I'll start:
http://forum.xda-developers.com/showthread.php?t=412065&page=22
http://forum.xda-developers.com/showthread.php?t=426585&page=6
neither of these solve any solutions, but if you feel you're alone you'll see you're not. But please anyone seeing anything about these issues please post. EVEN IF it is a thread to a Raphael Rom that someone asked and noone reported this issue after testing.
Anyway, my findings:
My phone skips what seems to be every 5 minutes.
HTC MUSIC TAB
Without being plugged on charger:
skips for about one second ONLY 5 minutes after pushing the power button to put it into low power mode.
This happens each time I touch the phone (to change a song)
Plugged on charger:
I tested both in low power mode and keeping the screen illuminated the whole time. It skips all the same. exact same results as before
WINDOWS MEDIA PLAYER
whether plugged in or not, I did not experience any skip whatsoever.
(only tested music .mp3 files on all tests. sorry that's all i dl)
I was quick to say it's HTC's music tab, but Diamond (TD) users are reporting issues with all types of audio including the turn by turn gps nav voice. I am in finals week and sadly can't mess with installing the garmin software and maps I recieved yesterday, so can anyone confirm that it is all audio interrupted or just music, or best case scenario just the HTC music tab?
maybe this helps,
HKLM\System\Storagemanager\Fatfs\Cachesize=16834 (default = 0)
HKEY_CURRENT_USER\Software\HTC\Taskmanager\MemoryThreshold = 67108864 (default= ???)
HKLM\Software\HTC\Audiomanager_Eng\Config\Request_memory = 8388608 (default= 2097152).
it uses more memory but better performance for music Playing!
??
rohithathie said:
maybe this helps,
HKLM\System\Storagemanager\Fatfs\Cachesize=16834 (default = 0)
HKEY_CURRENT_USER\Software\HTC\Taskmanager\MemoryThreshold = 67108864 (default= ???)
HKLM\Software\HTC\Audiomanager_Eng\Config\Request_memory = 8388608 (default= 2097152).
it uses more memory but better performance for music Playing!
Click to expand...
Click to collapse
Did you have this issue that it skips only after 5 minutes (once per time I input a song change or anything else into the phone) with your TP before making these registry changes? or did you have the lag that others are experiencing?
I am getting a skip, but it's just a few miliseconds "hiccup". Happens every 5-10 minutes, gets annoying after a while. Happens in Coreplayer and TCPMP for me, others have reported Pocketplayer and other players do it as well. I am on a stock Sprint ROM.
I have tried a bunch of stuff to get rid of it, but no go. Tried microdrive mode, disabling TF3D, turning off data connection ... a few other things I can't think of right now. No change at all.
I think in a bit I'll try moving a few songs into internal storage and try that. EDIT: No change, still glitches trying a couple songs on internal memory.
Here is the thread I started on PPCGeeks about this, monitor that too: http://forum.ppcgeeks.com/showthread.php?t=47521
rohithathie said:
maybe this helps,
HKLM\System\Storagemanager\Fatfs\Cachesize=16834 (default = 0)
HKEY_CURRENT_USER\Software\HTC\Taskmanager\MemoryThreshold = 67108864 (default= ???)
HKLM\Software\HTC\Audiomanager_Eng\Config\Request_memory = 8388608 (default= 2097152).
it uses more memory but better performance for music Playing!
Click to expand...
Click to collapse
Thanks for the information. Unfortunately, it did not stop the random skips that would occur. Ive tried even increasing some of those values, but that didnt help either.
Moving my music to internal storage didnt help either. Neither did decreasing the overall file size by using a lower bit rate. The skips arnt long (maybe half a second or less) but they are there, and its enough to refrain me from even using the Pro's music capability.
Even listening to streaming music using Pocket Player caused skips (which is tolerable due to the delivery method). It almost seems any kind of continuous sound causes skipping. But i guess i bought a business tool, not a multimedia or game player. Thanks HTC.
I think that's a general issue. I have it, you have it, we all have it.
Too bad that touch pro/diamond has many fallbacks.
http://forum.xda-developers.com/showthread.php?t=422823
http://forum.xda-developers.com/showthread.php?t=412065
correlation
I believe I found a correlation. After an input into the phone (of any type), using htc music tab or windows media player, then let it "sleep", it will skip once (only once) at exactly 5 min. BUT if I leave windows media player up and running (as in not viewing the home screen or any other app), even when the phone is "sleeping", it will NOT skip. So wadafxup? Any ideas? Can we limit this to a software issue? Perhaps? I hope.
I'm not sure exactly what you are saying there ... what is the correlation?
wmp
basically, windows media player keeps it from skipping once in five minutes. I wanted to see, though, if there is any interruption when using turn by turn gps or any other apps that have audio.

Poweramp issue?

Has anyone had any problems with PowerAmp on their bionic? Sometimes it stops playing when i have it connected to bluetooth headphones . Tried playing around with all the settings to no avail. the only way i can get it to play sometimes is by ticking the box that says play when connection resumes to BT. Basically what it does is play but it produces no sound. I've contacted the DEV multiple times and no responce
basically from someone else with the same problem
"I start playing PowerAmp
While a song is playing, I'll switch to another song (either by swiping or by pressing the "next" button)
I'll switch songs a few times, and after a few (7-10 songs) the audio will stop coming out. However, the timer will still advance, so the player thinks that the song is still playing.
During this time, all other sounds work normally, just not PowerAmp. The workaround is to kill the task using the stock task manager and then restart PowerAmp.
This is a hugely annoying bug on an otherwise great program. This bug makes it borderline unusable. It never used to happen on my old DroidX, so I'm not sure if it's related to the new phones, or if an update created this bug."
I use to have that same problem. I think i solved it since i haven't had the problem anymore. But i turned off all the fading and that seemed to work.
Sent from my DROID BIONIC using XDA App
i will try this, thanks for the help!
thank you for the help, been using it and the fix works!
I had this problem. I switched to 2.0 beta 3 and I haven't had the problem since.
Sent from my DROID BIONIC using XDA App
Edit: just that the rc is available. Sweet!
I have the same issue. I would use task killer then go back to Power Amp and it would start playing again. I just upgraded to 2.0 last night and we will see what happens
after the update i was confused on how to get the EQ and shuffle mode turned on from the player menu. turns out if you tap the album art in the middle of the screen itll pop up in the corners. confusing if your used to the old layout.
I had this same issue for weeks. Been really aggravating me. Glad i am not alone. I will try turning off all Fading. Thanks for the tip. I updated the app too. Hopefully the bug is gone.

Music volume changing while listening to spotify

Hey guys,
Love my new S6, because of memory limitations, I'm using spotify more than the music player. I noticed that when I listen to music, the volume keeps changing by itself (but remains at the same "number" that I set), I believe it's an EQ problem due to the voice/instrument equalizer function that keeps adjusting one VS the other. I was able to downgrade the amazon appstore still has version 2.6.0.813 and it's better (but not perfect yet, I hope they fix this bug in the next spotify update, just wanted to share in case you though you were going crazy (as I did).
See http://forum.xda-developers.com/galaxy-s6/help/volume-changing-playing-music-t3089066
Solution
Just found the solution, please close topic
https://community.spotify.com/t5/He...-Distorted-playback-sound-levels/td-p/1028205
Disabling Nuplayer does not work
solution from the previous post does not work, I and others tested it and spotify volume is still messed up with Nuplayer disabled, downgrading seems to be the only solution as of now, sorry for the confusion
Remix22 said:
Hey guys,
Love my new S6, because of memory limitations, I'm using spotify more than the music player. I noticed that when I listen to music, the volume keeps changing by itself (but remains at the same "number" that I set), I believe it's an EQ problem due to the voice/instrument equalizer function that keeps adjusting one VS the other. I was able to downgrade the amazon appstore still has version 2.6.0.813 and it's better (but not perfect yet, I hope they fix this bug in the next spotify update, just wanted to share in case you though you were going crazy (as I did).
See http://forum.xda-developers.com/galaxy-s6/help/volume-changing-playing-music-t3089066
Click to expand...
Click to collapse
actually, I've noticed this problem with Google Play music as well.. I'm not using the equalizer.. for no apparent reason, at some points in certain songs, the volume will inexplicably lower, never quite recovering.. weird
same here. thought i was going deaf bc i had the volume up to 80%
Is it happening with your stock music player? I disabled Nuplayer and spotify is still misbehaving but the Samsung player works fine. I didn't find a Samsung user forum to report the problem but will look more into it.
old version works
Using S6 Edge, had this problem myself with spotify - can confirm using the previous version of spotify fixes the problem.
Agree there's points where it stoll changes volume ever so slightly but definatley a big improvement.
Can't post link to download due to new user restrictions.
Thanks to OP for posting his findings. Big help.
Peace.
I have been going back and forth with Spotify support for weeks on this issue, and it's been escalated to a Tier 2 person who I've been working with for almost a week now. Specifically, my problem is that the sound on any given song will vary throughout the song...it will start at whatever volume I have it set at, then suddenly get about 25% quieter for about 10-20 seconds, then go back up to original volume. This happens in almost a cyclical fashion my entire time listening to Spotify on my phone...whether it be through headphones, phone speak, or a bluetooth speaker. Spotify support even gave me another test account to try, which this issue also happen in on my phone....and they logged into my account on their end and done extensive listening tests, but are not able to replicate on their end. They had me try everything...clearing cache, trying with volume normalization ON, then trying with it OFF, WiFi only, data only, listening to cached music with no data turned on, re-installing, rebooting, updating, deleting all Spotify files/folders from the file manager, listening with corded headphones, bluetooth headphones, phone speaker, bluetooth speaker, etc. They really feel at this point that it's the Samsung Galaxy S6 that doesnt play nicely with Spotify, but they cannot figure out why. I'm still troubleshooting with them but so far no solution, only a ton of things ruled out as culprits. =(
This is a few days old but do you have sound alive enabled?
Sent from my SM-G920T using Tapatalk

Bug: Headphones and Lock Screen

I've been meaning to post about this ever since the last OTA. I've been having a problem with audio coming out the phone speaker when headphones are connected.
Here are the steps to reproduce to bug:
1) Enable a pattern screen lock.
2) Plug in headphones and listen to music.
3) Hit "Lock your phone now" in the notification pull-down menu.
4) Unlock the phone using your pattern.
After 4), audio comes out of the phone speaker, not the headphones. Has anyone else noticed this? I usually use trusted devices with my Android wear watch to keep my phone unlocked. That effectively works around the bug most of the time. But, when I'm on a plane it's pretty annoying. If I want to skip past a song I need to first unlock the phone, which triggers the bug and tends to bother my seatmate.
I just tried it twice and it doesn't happen to me, maybe it has something to do with the app you are using for music? I'm using Google play music.
Big_Red77 said:
I just tried it twice and it doesn't happen to me, maybe it has something to do with the app you are using for music? I'm using Google play music.
Click to expand...
Click to collapse
Odd. Thanks for trying. It happens to me with every app (including Play Music). And all system audio is redirected to the phone speaker.
Just to confirm, you're using a pattern unlock, not just a swipe, right?
Probably the only "weird" thing about my setup is that I have VPN credentials protected in the hardware keystore. But it doesn't seem like that should impact audio in any way.
Yup, I made sure it was a pattern...maybe the upcoming lollipop update will fix it

Speaker playback i.e youtube and notifications issue

evening all i have found two strange issues that i haven't resolved through the usually settings checks and tinkering, both issues are related to notifications and i think they are one in the same. when watching YouTube videos if a notification comes in during the video (in full screen mode) the video volume drops as expected for a split second so you know you have a notification however the sound never returns the the same level it remains very quiet? even when turning the volume up and down and back up again its still reduced somehow? if you exit YouTube and go back in to a video it works as normal at normal volume levels until another notification comes in. this is very frustrating and i am not sure how to stop this?
has anyone got any suggestions?
secondly i think this is related to the above but when listening to music (both via earphone or loudspeaker) when a notification comes in it stops the music and does not reestablish it? i am using poweramp as my music app and the only way to start the music again is to unlock phone and start the app? (not good when driving).
again both would seem to be related but i can not find a way to stop the above? if anyone can shed any light please let me know whilst i continue searching, thanks in advance.

Categories

Resources