mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
conf: add freewheel driver
Add freewheel driver and enable freewheel mode on it.
This commit is contained in:
parent
5c41131d6d
commit
888612dc0f
2 changed files with 10 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ static int impl_node_process(void *object)
|
||||||
spa_return_val_if_fail(this != NULL, -EINVAL);
|
spa_return_val_if_fail(this != NULL, -EINVAL);
|
||||||
spa_log_trace(this->log, "process %d", this->props.freewheel);
|
spa_log_trace(this->log, "process %d", this->props.freewheel);
|
||||||
|
|
||||||
if (this->props.freewheel) {
|
if (false && this->props.freewheel) {
|
||||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||||
this->next_time = SPA_TIMESPEC_TO_NSEC(&now);
|
this->next_time = SPA_TIMESPEC_TO_NSEC(&now);
|
||||||
set_timer(this, this->next_time);
|
set_timer(this, this->next_time);
|
||||||
|
|
|
||||||
|
|
@ -167,6 +167,15 @@ context.objects = [
|
||||||
priority.driver = 8000
|
priority.driver = 8000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{ factory = spa-node-factory
|
||||||
|
args = {
|
||||||
|
factory.name = support.node.driver
|
||||||
|
node.name = Freewheel-Driver
|
||||||
|
priority.driver = 6000
|
||||||
|
node.group = pipewire.freewheel
|
||||||
|
node.freewheel = true
|
||||||
|
}
|
||||||
|
}
|
||||||
# This creates a new Source node. It will have input ports
|
# This creates a new Source node. It will have input ports
|
||||||
# that you can link, to provide audio for this source.
|
# that you can link, to provide audio for this source.
|
||||||
#{ factory = adapter
|
#{ factory = adapter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue