diff options
author | Geoffrey McRae | 2020-06-13 06:05:14 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2020-06-17 14:44:51 +0200 |
commit | 2f33ee08083ca540120ab572a7130f08c4d47be3 (patch) | |
tree | 2c3469c9a9ba21d3cfb1d8de70689dbe4b4ebdfc /audio | |
parent | audio/jack: fix invalid minimum buffer size check (diff) | |
download | qemu-2f33ee08083ca540120ab572a7130f08c4d47be3.tar.gz qemu-2f33ee08083ca540120ab572a7130f08c4d47be3.tar.xz qemu-2f33ee08083ca540120ab572a7130f08c4d47be3.zip |
audio/jack: remove unused stopped state
Signed-off-by: Geoffrey McRae <geoff@hostfission.com>
Message-id: 20200613040518.38172-3-geoff@hostfission.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/jackaudio.c | 4 |
1 files changed, 0 insertions, 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]); } |