diff options
| author | Geoffrey McRae | 2020-06-13 06:05:18 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2020-06-17 14:44:51 +0200 |
| commit | bc81e6e56eeea88bb1e3b6105c80850ffb58841c (patch) | |
| tree | 8ef87b12ca785ad56d77f4323d79686421372362 /hw | |
| parent | audio/jack: honour the enable state of the audio device (diff) | |
| download | qemu-bc81e6e56eeea88bb1e3b6105c80850ffb58841c.tar.gz qemu-bc81e6e56eeea88bb1e3b6105c80850ffb58841c.tar.xz qemu-bc81e6e56eeea88bb1e3b6105c80850ffb58841c.zip | |
audio/jack: simplify the re-init code path
Instead of checking for the audodev state in each code path, centralize
the check into the initialize function itself to make it safe to call it
at any time.
Signed-off-by: Geoffrey McRae <geoff@hostfission.com>
Message-id: 20200613040518.38172-7-geoff@hostfission.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions
