Page 1 of 4

Glitches problem

Posted: Mon Sep 30, 2013 10:43 am
by gialandra
Hi, with my Galaxy Nexus last 4.3 CyanogenMod I experience boring glitches that I can not resolve. I tried tweaking Hw/sw latency, keep away the CPU domanding process, but glitches remain. What can I do?

Re: Glitches problem

Posted: Mon Sep 30, 2013 11:16 am
by dmitrykos
Hi! Do you mean interruptions of audio (unstable) when you switch off the display of device?

Re: Glitches problem

Posted: Mon Sep 30, 2013 12:58 pm
by gialandra
The playback is similar to play a scratched LP with random timing. They are present even with screen off

Re: Glitches problem

Posted: Mon Oct 14, 2013 7:43 am
by dmitrykos
Since next update you will find new option in Settings -> Audio Hardware. It will be named 'CPU Wake Lock'. By default it is turned off. Try it turning on and check if glitches go away. It would be great to know the results.

Re: Glitches problem

Posted: Tue Oct 15, 2013 7:20 am
by gialandra
Ok, I will try it when it return from service. Can the glitches due to (Franco) kernel?

Re: Glitches problem

Posted: Wed Oct 16, 2013 11:51 am
by dmitrykos
Yes, it can be due to a kernel. Neutron is declaring as foreground process when playing and most probably your kernel is ignoring it and cutting the availability of CPU time.

1.75 is released and you will find CPU Wake Lock option in Audio Hardware. Would you please activate it and see if it helped.

Re: Glitches problem

Posted: Sun Nov 10, 2013 12:08 am
by linutux
I'm having this problem on a Nexus 5 with Kit Kat. It only occurs with the OpenSL ES driver selected. It never happens with the AudioTrack(JNI) driver.

Setting "CPU Wake Lock" does not help. I've also tried numerous combinations of Hardware Latency and Software Latency with no change. Seems like its a process scheduling issue maybe?

I have an Asus Transformer Prime tablet running 4.1 that does not have this problem with either driver.

Re: Glitches problem

Posted: Mon Nov 11, 2013 7:53 pm
by dmitrykos
Yes, it does depend on firmware configuration very much. It does not even matter how fast hardware is.

> AudioTrack

Open SL does not increase quality of audio it on some firmwares relaxes CPU usage (for example Galaxy S2) but if it is unstable then better use AudioTrack. Audio result is absolutely the same.

Re: Glitches problem

Posted: Wed Nov 13, 2013 2:08 am
by HokieMatt
I am also having this problem on a Cowon Z2. Running 1.75.4, track playback hiccups randomly. As metioned upthread it sounds like a scratched vinyl record. The application also randomly quits to the home screen during playback. I tried the normal release (non-NEON) and it wouldn't even start - crashed to desktop during the loading screen.

EDIT - I forgot to mention, I tried the CPU Wake Lock setting and it had no effect.

Re: Glitches problem

Posted: Wed Nov 13, 2013 9:08 pm
by HokieMatt
Dmitry - I have some more information that will hopefully help you to troubleshoot. I found that on my device, this is only happening with WMA format tracks at 160kbps. In addition, the tracks that are skipping also sound like they are being played at max volume, i.e. there is considerable distortion regardless of the actual volume. 128kbps or VBR WMA's sound fine and do not skip. OGG, MP3 and FLAC files also seem to be fine. I tried playing the files Neutron is having trouble with on Cowon's native music app and they sound fine.