From be5e79831c2338a05d871d8eadfab3345215e687 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 25 Apr 2019 12:56:17 +0200 Subject: [PATCH] introspect: remove unused RUNNING state for a link --- src/pipewire/introspect.c | 2 -- src/pipewire/introspect.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/pipewire/introspect.c b/src/pipewire/introspect.c index 355bec7b7..9e9403704 100644 --- a/src/pipewire/introspect.c +++ b/src/pipewire/introspect.c @@ -76,8 +76,6 @@ const char *pw_link_state_as_string(enum pw_link_state state) return "allocating"; case PW_LINK_STATE_PAUSED: return "paused"; - case PW_LINK_STATE_RUNNING: - return "running"; } return "invalid-state"; } diff --git a/src/pipewire/introspect.h b/src/pipewire/introspect.h index d2ea5a2ce..28987f631 100644 --- a/src/pipewire/introspect.h +++ b/src/pipewire/introspect.h @@ -65,7 +65,6 @@ enum pw_link_state { PW_LINK_STATE_NEGOTIATING = 1, /**< the link is negotiating formats */ PW_LINK_STATE_ALLOCATING = 2, /**< the link is allocating buffers */ PW_LINK_STATE_PAUSED = 3, /**< the link is paused */ - PW_LINK_STATE_RUNNING = 4, /**< the link is running */ }; /** Convert a \ref pw_link_state to a readable string \memberof pw_link */