aboutsummaryrefslogtreecommitdiff
path: root/audio/pwaudio.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-05-06 20:37:27 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-07-17 15:22:56 +0400
commit2d216959e1e065ccb5523e4ce67b6f9ad47b17eb (patch)
tree65be0dee0ac0e375e237c7908ee93621927e9ac0 /audio/pwaudio.c
parent20c512480522a035627d4f53e28bc7b0ecb779b2 (diff)
downloadqemu-2d216959e1e065ccb5523e4ce67b6f9ad47b17eb.zip
qemu-2d216959e1e065ccb5523e4ce67b6f9ad47b17eb.tar.gz
qemu-2d216959e1e065ccb5523e4ce67b6f9ad47b17eb.tar.bz2
audio/pw: drop needless case statement
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Volker Rümelin <vr_qemu@t-online.de> Message-Id: <20230506163735.3481387-5-marcandre.lureau@redhat.com>
Diffstat (limited to 'audio/pwaudio.c')
-rw-r--r--audio/pwaudio.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/audio/pwaudio.c b/audio/pwaudio.c
index 9eb69bf..51cfc0b 100644
--- a/audio/pwaudio.c
+++ b/audio/pwaudio.c
@@ -197,16 +197,6 @@ on_stream_state_changed(void *data, enum pw_stream_state old,
trace_pw_state_changed(pw_stream_get_node_id(v->stream),
pw_stream_state_as_string(state));
-
- switch (state) {
- case PW_STREAM_STATE_ERROR:
- case PW_STREAM_STATE_UNCONNECTED:
- break;
- case PW_STREAM_STATE_PAUSED:
- case PW_STREAM_STATE_CONNECTING:
- case PW_STREAM_STATE_STREAMING:
- break;
- }
}
static const struct pw_stream_events capture_stream_events = {