ADTF
Loading...
Searching...
No Matches
adtf::services::ant::IPlayer::tEvent Struct Reference

Layout of the events emitted by the playback service. More...

#include <player_intf.h>

Public Types

enum  tEventIds : uint32_t { StartedPlaybackOfFile = 0 , EndOfStreams = 1 , MarkerReached = 2 , StateChangeEnd = 3 }
 

Public Attributes

uint32_t nEventId
 the event id.
 
const void * pEventData
 pointer to the event specific data.
 
size_t nEventDataSize
 size of the event specific data.
 

Detailed Description

Layout of the events emitted by the playback service.

Member Enumeration Documentation

◆ tEventIds

Enumerator
StartedPlaybackOfFile 

The playback of a file has started The pEventData member points to a 0-terminated string that contains the filename.

EndOfStreams 

The end of all streams has been reached.

MarkerReached 

A marker has been reached pEventData points to a string containing an XML representation of the marker.

StateChangeEnd 

Whenever the state of the player changes, this event is emitted afterwards. Calls to the getter functions of the player interface will be non-blocking during the handling of this event.


The documentation for this struct was generated from the following file: