VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_input_clock_cbs Struct Reference

Callbacks for the input_clock_t listener. More...

#include <input_clock.h>

Data Fields

vlc_tick_t(* update )(void *opaque, vlc_tick_t ck_system, vlc_tick_t ck_stream, double rate)
 Notify the listener that the buffering made progress.
 
void(* reset )(void *opaque)
 Notify the listener that the buffering needed a reset.
 

Detailed Description

Callbacks for the input_clock_t listener.

See also
input_clock_AttachListener

Field Documentation

◆ reset

void(* vlc_input_clock_cbs::reset) (void *opaque)

Notify the listener that the buffering needed a reset.

Parameters
opaquelistener private data set from input_clock_AttachListener

Referenced by input_clock_Reset().

◆ update

vlc_tick_t(* vlc_input_clock_cbs::update) (void *opaque, vlc_tick_t ck_system, vlc_tick_t ck_stream, double rate)

Notify the listener that the buffering made progress.

Parameters
opaquelistener private data set from input_clock_AttachListener
ck_systemtime reference for the buffering progress
ck_streamprogress of the buffering in tick
ratecurrent playback rate for the buffering
Returns
how much time the playback has drifted from the main clock

Referenced by EsOutProgramHandleClockSource(), and UpdateListener().


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