ossaudio: disable poll mode can't be reached
commitf03cd06814ab282196165808c01d4433773a6e0f
authorVolker Rümelin <vr_qemu@t-online.de>
Thu, 23 Jan 2020 07:49:42 +0000 (23 08:49 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 31 Jan 2020 07:48:57 +0000 (31 08:48 +0100)
treea08fbb386a059e432276b6c14f8e8e3ad46024e6
parent3e0c1bbab52d124231f56bdaa99b6d0e4a6e3fa6
ossaudio: disable poll mode can't be reached

Currently there is no way to disable poll mode in
oss_enable_out and oss_enable_in when it was enabled before.
The enable code path always resets the poll mode state variable.

Fixes: b027a538c6 "oss: Remove unused error handling of qemu_set_fd_handler"
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20200123074943.6699-8-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
audio/ossaudio.c