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>
This commit is contained in:
parent
36963ed116
commit
2f33ee0808
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user