[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 04/12] audio/pw: drop needless case statement
|
From: |
marcandre . lureau |
|
Subject: |
[PATCH 04/12] audio/pw: drop needless case statement |
|
Date: |
Sat, 6 May 2023 20:37:27 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
audio/pwaudio.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/audio/pwaudio.c b/audio/pwaudio.c
index 9eb69bfd18..51cfc0b052 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 = {
--
2.40.1
- [PATCH 00/12] audio: pipewire backend improvements, marcandre . lureau, 2023/05/06
- [PATCH 01/12] libvirt-ci: update submodule to cover pipewire, marcandre . lureau, 2023/05/06
- [PATCH 02/12] tests/lcitool: add pipewire, marcandre . lureau, 2023/05/06
- [PATCH 03/12] audio/pw: Pipewire->PipeWire case fix for user-visible text, marcandre . lureau, 2023/05/06
- [PATCH 04/12] audio/pw: drop needless case statement,
marcandre . lureau <=
- [PATCH 05/12] audio/pw: needless check for NULL, marcandre . lureau, 2023/05/06
- [PATCH 06/12] audio/pw: trace during init before calling pipewire API, marcandre . lureau, 2023/05/06
- [PATCH 07/12] audio/pw: add more details on error, marcandre . lureau, 2023/05/06
- [PATCH 08/12] audio/pw: factorize some common code, marcandre . lureau, 2023/05/06