Conan Troutman · Jun 16, 2012 at 11:00 am

Reduce Audio Latency on the Galaxy Nexus and Nexus S

Audio latency has always been an issue for Android, not a massive deal breaker of an issue for the average user, but an issue none the less—especially for those of us who use applications such as VoIP clients or emulated instruments. For those unaware of the problem, audio latency is the delay between an audio event being triggered and the sound emerging from the speaker. For example, if you press a key on a piano application and notice a delay between touching the screen and hearing the sound, that’s latency.

The issue was actually brought up at I/O just over a year ago and the response was this;

“Latency is a big problem. We’re working at, hopefully we hope to be able to do something about it with ICS. As we investigated it it’s actually a pretty complex problem. There are a number of different places where latency gets introduced. Most of the latency is introduced below Android. Basically it’s happening in the drivers or in the chipsets or somewhere in there, and some of these are really obscene amounts like hundreds of milliseconds of latency in the audio path. So, that’s something we’re going to push on. We started/ I think we introduced something in CDD Gingerbread which was a “should” hit certain latencies. But it’s a problem we want to deal with and hopefully the next release will get it. Obviously it’s not going to solve the problems for legacy devices but it’s going to get better.”

Well, unfortunately the next release didn’t get it. Android 4.0 still suffers from this annoying flaw, and for some the problem seems to have worsened. We can only assume that the problem lies beyond the reach of the Android developers, or they simply had more important issues to address. Perhaps somebody will ask the question again this year at I/O. Nudge nudge, wink wink…

However, Nexus S and GSM Galaxy Nexus owners have a modification that improves the audio latency of your device thanks to XDA Forum Members Windows X and vonVideo. The fix is basically a modified version of their respective audio libraries. Although the original mod for the Nexus S is in a much more advanced state than the mod for the Galaxy Nexus, both seem to have had positive effects for users. It’s worth mentioning that these fixes are not applicable to all ROMs and kernels, so make sure to read the original threads and create a backup before making any changes.

You can find the fixes in the Nexus S thread and the Galaxy Nexus thread.


_________
Want something on the XDA Portal? Send us a tip!

Conan Troutman

Conan Troutman is an editor on XDA-Developers, the largest community for Android users. Senior Moderator, Newswriter, Recovering Meme Addict. View Conan Troutman's posts and articles here.
Mario Tomás Serrafero · Jul 28, 2015 at 04:20 pm · 1 comment

OnePlus 2 Forums: Discuss Everything About The OP2!

Now that the OnePlus 2 has been officially unveiled and that we have had close-up looks at the device itself, it is time for XDA users to begin discussing what to expect out of the company's new flagship phone. Can the OnePlus 2 help you never settle? If you want to find out by discussing with fellow users, the XDA forums are the right place to do so.   The OnePlus One is known for its great community which helped...

XDA NEWS
Aamir Siddiqui · Jul 28, 2015 at 12:56 pm · 2 comments

Galaxy Unpacked: What is Samsung Going to Unveil?

Amidst all the hype of the OnePlus 2 and the rain of Moto 2015 news, Samsung tried stealing the limelight back to itself by announcing their next "Galaxy Unpacked" event, which will be held on August 13th 2015. Samsung took to Twitter to reveal a very cryptic gif associated with the event, which probably has some clue on the device(s) to be launched. The hashtag "#TheNextGalaxy" does indeed point that the event will be the launchpad for a Galaxy device,...

XDA NEWS
Mario Tomás Serrafero · Jul 28, 2015 at 12:26 pm · 1 comment

Arrow Launcher: Good Effort Without Direction

Microsoft’s Android expansion has been well received on the productivity front, but not so much in terms of original applications. While their Office suite managed to bring some of the document-editing excellence to mobile, attempts at entering one’s interface through apps like Picturesque proved to be pointless failures. But even then, some apps like Hyperlapse redeem the computing giant through great quality. Microsoft seems to be approaching Android with brute, misdirected development and plenty of unorganized output, and if they want...

XDA NEWS