Results 1 to 3 of 3

Thread: opensl es v1.01 to v1.1

  1. #1
    Junior Member Newbie
    Join Date
    May 2015

    opensl es v1.01 to v1.1

    Hi all
    i am developing a java project for recording call, since there is a problem using

    i found my self dealing with opense es, in the version 1.1 some features were added like
    #define SL_IODEVICE_AUDIOINPUT ((SLuint32) 0x00000001)
    #define SL_IODEVICE_LEDARRAY ((SLuint32) 0x00000002)
    #define SL_IODEVICE_VIBRA ((SLuint32) 0x00000003)
    #define SL_IODEVICE_RESERVED4 ((SLuint32) 0x00000004)
    #define SL_IODEVICE_RESERVED5 ((SLuint32) 0x00000005)
    #define SL_IODEVICE_AUDIOOUTPUT ((SLuint32) 0x00000006) this is not e in v1.01
    i installed E:\android-ndk-r10d, which uses v1.01, how i can use the new version v1.1 in my project, there are only 2 header files i found OpenSLES.h and OpenSLES_Platform.h and c file named OpenSLES_IID.c what about remainder files like: OpenSLES_Android.h, OpenSLES_AndroidConfiguration.h and OpenSLES_AndroidMetadata.h, There is no need for them?
    plz reply to my post and show me how i can use v1.1
    thanks all

  2. #2
    Member Contributor
    Join Date
    Mar 2009
    Hi Kanaan

    Unfortunately, to use OpenSL ES 1.1 you need an OpenSL ES 1.1 implementation not just the 1.1 header files. As far as I know the Android implementation of OpenSL ES only supports version 1.0.1. If you pass values like SL_IODEVICE_AUDIOOUTPUT to a v1.0.1 implementation, it won't know how to respond as that value has did not exist when the implementation was written.

    The files you found named OpenSLES.h and OpenSLES_Platform.h are the header files which describe the specification. The other files you mention are the Android specific files which relate to the implementation.

    To use OpenSL ES 1.1 on Android, you will need to update the Android audio system with the new functionality, either through a third party software supplier or write your own.


    Erik Noreke,
    Working Group Chair OpenSL ES, OpenMAX AL and Safety Critical

  3. #3
    Junior Member Newbie
    Join Date
    May 2015
    Thanks Mr Erik

Similar Threads

  1. OpenSL ES for Linux
    By SwaminathanG in forum OpenSL ES
    Replies: 0
    Last Post: 05-24-2017, 01:23 AM
  2. Does OpenSL work on iOS too?
    By CttPla in forum OpenSL ES
    Replies: 1
    Last Post: 08-15-2016, 09:25 AM
  3. OpenSL ES Beginner
    By fekanne in forum OpenSL ES
    Replies: 0
    Last Post: 07-17-2015, 06:54 AM
  4. openSL ES and ALSA
    By positron in forum OpenSL ES
    Replies: 1
    Last Post: 03-22-2012, 10:13 AM
  5. Replies: 2
    Last Post: 05-07-2010, 12:07 PM

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