Results 1 to 2 of 2

Thread: Register multiple events to one callback

  1. #1
    Newbie Newbie
    Join Date
    Jun 2015

    Register multiple events to one callback

    Is it possible to register multiple events to one callback ?

    In the specific I need to register SL_PLAYEVENT_HEADATNEWPOS and SL_PLAYEVENT_HEADATEND for PlayItf

    Is this possible?

  2. #2
    Member Contributor
    Join Date
    Mar 2009
    Hi Stefano,

    OpenSL ES does not support multiple callbacks for a single event. I suggest that you create a single callback for the event which in turn calls your various callbacks. That way you can control the order in which your callbacks get called.


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

Similar Threads

  1. Replies: 4
    Last Post: 05-23-2012, 10:24 AM
  2. Events and callback functions
    By zhugh in forum OpenCL
    Replies: 4
    Last Post: 12-12-2010, 06:55 PM
  3. Asynchronous Events
    By Amnon in forum OpenCL
    Replies: 0
    Last Post: 11-25-2009, 12:07 AM
  4. Regarding X-events, OpenGL, glX:
    By kobebryant in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-27-2006, 05:49 PM
  5. managing events & more...
    By gjat in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-24-2002, 11:31 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