Waave
An audio video engine
 All Data Structures Functions Variables Groups Pages
Data Fields
WVReferenceClock Struct Reference

Clock status descriptor. More...

#include <WAAVE.h>


Detailed Description

Clock status descriptor.

Give the status of a refence clock. Used in the getRefClock function of the sync object to obtain reference clock state.

Data Fields

uint32_t clock
 The clock value in milliseconds.
int pauseFlag
 Give the play/pause status.
int modIdx
 Clock modification counter.

Field Documentation

uint32_t WVReferenceClock::clock

The clock value in milliseconds.

The time value of a reference clock in millisecond. Generally the time elapsed from the begining of the stream.

int WVReferenceClock::modIdx

Clock modification counter.

Count the number of clock modification since clock initialisation. This occur when decoder reach stream end, seek on the stream or change the playing stream. This is used to know if we get the clock for the good chunk of the stream by identifying each chunk to its index.

int WVReferenceClock::pauseFlag

Give the play/pause status.

The pauseFlag if set if the clock is paused so its time value remain the same.


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