Results 1 to 2 of 2

Thread: Register multiple events to one callback

  1. #1
    Newbie
    Join Date
    Jun 2015
    Posts
    1

    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
    Super Moderator
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    64
    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.

    Best,

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

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