filter: deprecate pw_filter_get_time()
The info is already in the io_position area that is passed to the process function.
This commit is contained in:
parent
46d1328e1c
commit
421b3b6ece
2
NEWS
2
NEWS
|
@ -1,4 +1,4 @@
|
|||
# PipeWire 0.3.49 (2022-03-31)
|
||||
# PipeWire 0.3.49 (2022-03-29)
|
||||
|
||||
This is a bugfix release that is API and ABI compatible with previous
|
||||
0.3.x releases.
|
||||
|
|
|
@ -974,7 +974,7 @@ static inline void copy_position(struct filter *impl)
|
|||
impl->clock_id = p->clock.id;
|
||||
}
|
||||
impl->time.ticks = p->clock.position - impl->base_pos;
|
||||
impl->time.delay = p->clock.delay;
|
||||
impl->time.delay = 0;
|
||||
SEQ_WRITE(impl->seq);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -217,17 +217,9 @@ pw_filter_update_params(struct pw_filter *filter, /**< a \ref pw_filter */
|
|||
uint32_t n_params /**< number of elements in \a params */);
|
||||
|
||||
|
||||
#if 0
|
||||
/** A time structure */
|
||||
struct pw_time {
|
||||
int64_t now; /**< the monotonic time */
|
||||
struct spa_fraction rate; /**< the rate of \a ticks and delay */
|
||||
uint64_t ticks; /**< the ticks at \a now. This is the current time that
|
||||
* the remote end is reading/writing. */
|
||||
};
|
||||
#endif
|
||||
|
||||
/** Query the time on the filter */
|
||||
/** Query the time on the filter, deprecated, use the spa_io_position in the
|
||||
* process() method for timing information. */
|
||||
SPA_DEPRECATED
|
||||
int pw_filter_get_time(struct pw_filter *filter, struct pw_time *time);
|
||||
|
||||
/** Get a buffer that can be filled for output ports or consumed
|
||||
|
|
Loading…
Reference in New Issue