mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
clock: remove clock interface
Remove the clock interface, we need to get timing information with an io area to get the required precision and performance.
This commit is contained in:
parent
83bb8dc599
commit
fba00fb791
22 changed files with 31 additions and 516 deletions
|
|
@ -120,20 +120,11 @@ pw_spa_node_new(struct pw_core *core,
|
|||
{
|
||||
struct pw_node *this;
|
||||
struct impl *impl;
|
||||
void *iface = NULL;
|
||||
struct pw_type *t = pw_core_get_type(core);
|
||||
int res;
|
||||
|
||||
this = pw_node_new(core, name, properties, sizeof(struct impl) + user_data_size);
|
||||
if (this == NULL)
|
||||
return NULL;
|
||||
|
||||
if (handle) {
|
||||
if ((res = spa_handle_get_interface(handle, t->spa_clock, &iface)) < 0)
|
||||
iface = NULL;
|
||||
this->clock = iface;
|
||||
}
|
||||
|
||||
impl = this->user_data;
|
||||
impl->this = this;
|
||||
impl->owner = owner;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue