OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [RFC] snd: Add virtio sound device specification


This patch proposes virtio specification for new virtio sound device. Any
feedback would be greatly appreciated. Previous version of the proposal: [1].

Reference implementation is now available and located here:

 * QEMU v4.1.0-rc3 device:
   https://github.com/OpenSynergy/qemu/tree/virtio-snd-draft

 * Linux kernel 5.2-rc7 driver:
   https://github.com/OpenSynergy/linux/tree/virtio-snd-draft

How to use:

1) Set the SND_VIRTIO configuration option in Linux kernel config to
  enable virtio-snd in a guest.

2) QEMU command line must contain virtio-snd-pci device configuration:

  a) ALSA backend:
    -audiodev id=sndbe,driver=alsa,out.try-poll=off,\
    -device virtio-snd-pci

    Polling mode must be disabled because QEMU will freeze until
    playback is stopped.

  b) PulseAudio backend:
    -audiodev id=sndbe,driver=pa,server=/run/user/1000/pulse/native,\
    -device virtio-snd-pci

[1]: https://lists.oasis-open.org/archives/virtio-dev/201905/msg00013.html

Signed-off-by: Anton Yakovlev <Anton.Yakovlev@opensynergy.com>
Signed-off-by: Mikhail Golubev <Mikhail.Golubev@opensynergy.com>


Please mind our privacy notice<https://www.opensynergy.com/datenschutzerklaerung/privacy-notice-for-business-partners-pursuant-to-article-13-of-the-general-data-protection-regulation-gdpr/> pursuant to Art. 13 GDPR. // Unsere Hinweise zum Datenschutz gem. Art. 13 DSGVO finden Sie hier.<https://www.opensynergy.com/de/datenschutzerklaerung/datenschutzhinweise-fuer-geschaeftspartner-gem-art-13-dsgvo/>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]