node: only run the graph when we are the selected driver

Update submodules
This commit is contained in:
Wim Taymans 2018-10-23 16:51:48 +02:00
parent 34db9be04b
commit 0395897856
3 changed files with 4 additions and 3 deletions

@ -1 +1 @@
Subproject commit 88c824208aab123e135f32e2787f2cca8d1be79d
Subproject commit 98992d88d336549c471e5a2e7d2e5f1090447e5b

@ -1 +1 @@
Subproject commit a14e16806f2f0c7e6300256c08761cac0393b461
Subproject commit 2a1328533f1c4c53721767ac48f5c5b76d4c508f

View file

@ -782,7 +782,8 @@ static void node_process(void *data, int status)
pw_log_trace("node %p: process driver:%d exported:%d %p", node,
node->driver, node->exported, driver->rt.driver);
if (node->driver && (driver->rt.driver->state->pending == 0 || !node->remote)) {
if (node->driver && driver == node &&
(driver->rt.driver->state->pending == 0 || !node->remote)) {
struct timespec ts;
struct pw_driver_quantum *q = node->rt.quantum;