From: Ross Bencina <ro...@audiomulch.com>
Date: Fri, 24 Dec 2010 03:11:19 -0800 (PST)
Local: Fri, Dec 24 2010 6:11 am
Subject: Re: Nexus S and feature android.hardware.audio.low_latency
To follow up on my questions:
After some more digging I discovered that the OpenSL ES interface's
An example of this is in the latest NDK at:
there's an online copy of that page you can read at the link below
As I think the CDD mentions too, it says:
call OpenSL ES have no Dalvik-related overhead such as garbage collection pauses. However, there is no additional performance benefit to the use of OpenSL ES other than this. In particular, use of OpenSL ES does not result in lower audio latency, higher scheduling priority, etc. than what the platform generally provides. On the other hand, as the Android platform and specific device implementations continue to evolve, an OpenSL ES application can expect to benefit from any future system performance improvements. <<<< So I guess the CDD latency guidelines Glenn posted earlier are to be
Glenn, can I suggest that the CDD reference concrete test cases in
In the end, a latency guarantee will require the vendor to make sure
I am alarmed to see the following in the above cited document:
you should use a mutex or other synchronization mechanism to control access to any variables shared between the application and the callback handler. In the example code, such as for buffer queues, we have omitted this synchronization in the interest of simplicity. However, proper mutual exclusion would be critical for any production code. <<<< Employing mutexes will almost certainly cause priority inversion at
Thanks
Ross.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||