pub trait ClockExtManual: 'static {
    fn new_periodic_id(
        &self,
        start_time: ClockTime,
        interval: ClockTime
    ) -> PeriodicClockId;
fn periodic_id_reinit(
        &self,
        id: &PeriodicClockId,
        start_time: ClockTime,
        interval: ClockTime
    ) -> Result<(), BoolError>;
fn new_single_shot_id(&self, time: ClockTime) -> SingleShotClockId;
fn single_shot_id_reinit(
        &self,
        id: &SingleShotClockId,
        time: ClockTime
    ) -> Result<(), BoolError>;
fn set_clock_flags(&self, flags: ClockFlags);
fn unset_clock_flags(&self, flags: ClockFlags);
fn clock_flags(&self) -> ClockFlags; }

Required methods

Gets an ID from self to trigger a periodic notification. The periodic notifications will start at time start_time and will then be fired with the given interval.

start_time

the requested start time

interval

the requested interval

Returns

a GstClockID that can be used to request the time notification.

Reinitializes the provided periodic id to the provided start time and interval. Does not modify the reference count.

id

a GstClockID

start_time

the requested start time

interval

the requested interval

Returns

true if the GstClockID could be reinitialized to the provided time, else false.

Gets a GstClockID from self to trigger a single shot notification at the requested time.

time

the requested time

Returns

a GstClockID that can be used to request the time notification.

Reinitializes the provided single shot id to the provided time. Does not modify the reference count.

id

a GstClockID

time

The requested time.

Returns

true if the GstClockID could be reinitialized to the provided time, else false.

Implementors