diff options
author | Geoffrey McRae <geoff@hostfission.com> | 2020-04-29 15:53:58 +1000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-25 11:30:03 +0200 |
commit | 2e44570321056feaa045a51d5e3e8585cea627d0 (patch) | |
tree | d4987c487bdcdda099d6cfd4d237d0f9a7146a61 /audio/audio_template.h | |
parent | 2f097e1964dc25a5633a54cae15ff068e9473196 (diff) |
audio/jack: add JACK client audiodev
This commit adds a new audiodev backend to allow QEMU to use JACK as
both an audio sink and source.
Signed-off-by: Geoffrey McRae <geoff@hostfission.com>
Message-Id: <20200512101603.E3DB73A038E@moya.office.hostfission.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'audio/audio_template.h')
-rw-r--r-- | audio/audio_template.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/audio_template.h b/audio/audio_template.h index 7013d3041f..8dd48ce14e 100644 --- a/audio/audio_template.h +++ b/audio/audio_template.h @@ -330,6 +330,8 @@ AudiodevPerDirectionOptions *glue(audio_get_pdo_, TYPE)(Audiodev *dev) dev->u.coreaudio.TYPE); case AUDIODEV_DRIVER_DSOUND: return dev->u.dsound.TYPE; + case AUDIODEV_DRIVER_JACK: + return qapi_AudiodevJackPerDirectionOptions_base(dev->u.jack.TYPE); case AUDIODEV_DRIVER_OSS: return qapi_AudiodevOssPerDirectionOptions_base(dev->u.oss.TYPE); case AUDIODEV_DRIVER_PA: |