Results 1 to 2 of 2

Thread: embedded audio acceleration with android ndk

  1. #1
    Junior Member
    Join Date
    May 2012

    embedded audio acceleration with android ndk

    Good morning,

    Is the first time that I post in this community so, please, forgive me if I miss any etiquette rule or something.

    I would like to ask you about the possibility of using the audio hardware acceleration through android's ndk and OpenSL ES. I've been looking into this a bit and got quite confused.

    Right now we have a class that creates audio player and recorder but only working with PCM (by using SLDataFormat_PCM), this is how most implementations we've found right now are working (like the one included in the ndk) but I don't really know if this directly gives us access to all the features included by manufacturers in the hardware implementation, like echo cancellation, and, on the other hand, we would also like to encode this audio in different formats by using the embedded hardware acceleration but, from what I've found so far, I don't really know how can I achieve this.

    Sorry if I mix things but, as I said, I'm quite confused about this.

    Thank you very much in advance for any helpful info that you can provide.


  2. #2
    Junior Member
    Join Date
    Mar 2012

    Re: embedded audio acceleration with android ndk

    Regarding your specific question on echo cancellation:

    Android native audio based on OpenSL ES 1.0.1, in NDK, does not currently expose controls for echo cancellation. The Android team is aware of this feature request for NDK and is tracking it internally, but I can't make a commitment.

    The corresponding SDK feature is available since API level 16; see ... celer.html

    For further questions on Android NDK in general, and Android's native audio based on OpenSL ES 1.0.1, please visit ... ndroid-ndk

Similar Threads

  1. Replies: 2
    Last Post: 01-21-2013, 05:46 PM
  2. EGLImage on Android NDK
    By smiyax73 in forum OpenGL ES
    Replies: 2
    Last Post: 01-20-2013, 11:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean