All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio-dev] [RFC] snd: Add virtio sound device specification
@ 2019-08-16 20:26 Mikhail Golubev
  2019-08-16 20:26 ` Mikhail Golubev
  0 siblings, 1 reply; 4+ messages in thread
From: Mikhail Golubev @ 2019-08-16 20:26 UTC (permalink / raw)
  To: virtio-dev; +Cc: Anton Yakovlev

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/>

---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-19 10:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-16 20:26 [virtio-dev] [RFC] snd: Add virtio sound device specification Mikhail Golubev
2019-08-16 20:26 ` Mikhail Golubev
2019-08-18 13:09   ` Michael S. Tsirkin
2019-08-19 10:29     ` Anton Yakovlev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.