Results 1 to 2 of 2

Thread: The events relative to the playback.

  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    2

    The events relative to the playback.

    I find the following event relative to the XAPlayItf interface:
    #define XA_PLAYEVENT_HEADATEND ((XAuint32) 0x00000001)
    #define XA_PLAYEVENT_HEADATMARKER ((XAuint32) 0x00000002)
    #define XA_PLAYEVENT_HEADATNEWPOS ((XAuint32) 0x00000004)
    #define XA_PLAYEVENT_HEADMOVING ((XAuint32) 0x0000000
    #define XA_PLAYEVENT_HEADSTALLED ((XAuint32) 0x00000010)

    Now I want to know when the OpenMAX AL will send the event to the application; in other words, what event will be sent when the following operation occurs: play, seek, pause,resume, stop.

  2. #2
    Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Re: The events relative to the playback.

    The section describing XA_PLAYEVENTs makes this clear.

    XA_PLAYEVENT_HEADATEND Playback head is at the end of the current content and the player has stopped.
    XA_PLAYEVENT_HEADATMARKER Playback head is at the specified marker position.
    XA_PLAYEVENT_HEADATNEWPOS Playback head is at a new position (period between notifications is specified in by application).
    XA_PLAYEVENT_HEADMOVING Playback head has begun to move.
    XA_PLAYEVENT_HEADSTALLED Playback head has temporarily stopped moving.

    When playing (including after a seek or resumed), the first three events occur whenever the head passes over the designated position (end, marker, new pos) the event is sent and the last two events are sent when the head goes from not moving to moving and moving to not moving respectively.

    In other words, the events' timing are meant to be self evident.

Similar Threads

  1. PLAYBACK RELATED EVENTS
    By Jim in forum OpenMAX AL
    Replies: 0
    Last Post: 03-25-2008, 01:41 AM
  2. PLAYBACK RELATED EVENTS
    By Jim in forum OpenMAX
    Replies: 0
    Last Post: 01-01-1970, 12:00 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
  •