[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/6] audio/jack: remove unused stopped state
From: |
Geoffrey McRae |
Subject: |
[PATCH 2/6] audio/jack: remove unused stopped state |
Date: |
Sat, 13 Jun 2020 14:05:14 +1000 |
Signed-off-by: Geoffrey McRae <geoff@hostfission.com>
---
audio/jackaudio.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/audio/jackaudio.c b/audio/jackaudio.c
index d0b6f748f2..fb8efd7af7 100644
--- a/audio/jackaudio.c
+++ b/audio/jackaudio.c
@@ -38,7 +38,6 @@ struct QJack;
typedef enum QJackState {
QJACK_STATE_DISCONNECTED,
- QJACK_STATE_STOPPED,
QJACK_STATE_RUNNING,
QJACK_STATE_SHUTDOWN
}
@@ -549,9 +548,6 @@ static void qjack_client_fini(QJackClient *c)
{
switch (c->state) {
case QJACK_STATE_RUNNING:
- /* fallthrough */
-
- case QJACK_STATE_STOPPED:
for (int i = 0; i < c->nchannels; ++i) {
jack_port_unregister(c->client, c->port[i]);
}
--
2.20.1
- Re: [PATCH 0/6] audio/jack: fixes to overall jack behaviour, (continued)
- [PATCH 0/6] audio/jack: fixes to overall jack behaviour, Geoffrey McRae, 2020/06/14
- [PATCH 5/6] audio/jack: honour the enable state of the audio device, Geoffrey McRae, 2020/06/14
- Re: [PATCH 5/6] audio/jack: honour the enable state of the audio device, Gerd Hoffmann, 2020/06/17
- Re: [PATCH 5/6] audio/jack: honour the enable state of the audio device, Geoffrey McRae, 2020/06/17
- Re: [PATCH 5/6] audio/jack: honour the enable state of the audio device, Gerd Hoffmann, 2020/06/19
- Re: [PATCH 5/6] audio/jack: honour the enable state of the audio device, Geoffrey McRae, 2020/06/21
- Re: [PATCH 5/6] audio/jack: honour the enable state of the audio device, Gerd Hoffmann, 2020/06/22
- Re: [PATCH 5/6] audio/jack: honour the enable state of the audio device, Geoffrey McRae, 2020/06/22
[PATCH 2/6] audio/jack: remove unused stopped state,
Geoffrey McRae <=
[PATCH 4/6] audio/jack: do not remove ports when finishing, Geoffrey McRae, 2020/06/14
[PATCH 1/6] audio/jack: fix invalid minimum buffer size check, Geoffrey McRae, 2020/06/14
[PATCH 6/6] audio/jack: simplify the re-init code path, Geoffrey McRae, 2020/06/14
[PATCH 3/6] audio/jack: remove invalid set of input support bool, Geoffrey McRae, 2020/06/14
Re: [PATCH 0/6] audio/jack: fixes to overall jack behaviour, no-reply, 2020/06/14