* [pve-devel] [PATCH docs] qm: update section about audio devices
@ 2021-01-12 13:39 Aaron Lauterer
2021-01-12 13:39 ` [pve-devel] [PATCH manager] ui: qemu/audio: enable help button Aaron Lauterer
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Aaron Lauterer @ 2021-01-12 13:39 UTC (permalink / raw)
To: pve-devel
With the ability to configure the `none` backend, the audio section
needs an update.
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
qm.adoc | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/qm.adoc b/qm.adoc
index 9c54903..d72798c 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -796,11 +796,18 @@ Supported audio devices are:
* `intel-hda`: Intel HD Audio Controller, emulates ICH6
* `AC97`: Audio Codec '97, useful for older operating systems like Windows XP
-NOTE: The audio device works only in combination with SPICE. Remote protocols
-like Microsoft's RDP have options to play sound. To use the physical audio
-device of the host use device passthrough (see
-xref:qm_pci_passthrough[PCI Passthrough] and
-xref:qm_usb_passthrough[USB Passthrough]).
+There are two backends available:
+
+* 'spice'
+* 'none'
+
+The 'spice' backend can be used in combination with xref:qm_display[SPICE] while
+the 'none' backend can be useful if an audio device is needed in the VM for some
+software to work. To use the physical audio device of the host use device
+passthrough (see xref:qm_pci_passthrough[PCI Passthrough] and
+xref:qm_usb_passthrough[USB Passthrough]). Remote protocols like Microsoft’s RDP
+have options to play sound.
+
[[qm_virtio_rng]]
VirtIO RNG
--
2.20.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] [PATCH manager] ui: qemu/audio: enable help button
2021-01-12 13:39 [pve-devel] [PATCH docs] qm: update section about audio devices Aaron Lauterer
@ 2021-01-12 13:39 ` Aaron Lauterer
2021-01-12 13:56 ` [pve-devel] [PATCH docs] qm: update section about audio devices Stefan Reiter
2021-01-28 16:37 ` [pve-devel] applied: " Thomas Lamprecht
2 siblings, 0 replies; 4+ messages in thread
From: Aaron Lauterer @ 2021-01-12 13:39 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
www/manager6/qemu/AudioEdit.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/www/manager6/qemu/AudioEdit.js b/www/manager6/qemu/AudioEdit.js
index 2029bae1..0c74bfd8 100644
--- a/www/manager6/qemu/AudioEdit.js
+++ b/www/manager6/qemu/AudioEdit.js
@@ -2,8 +2,7 @@ Ext.define('PVE.qemu.AudioInputPanel', {
extend: 'Proxmox.panel.InputPanel',
xtype: 'pveAudioInputPanel',
- // FIXME: enable once we bumped doc-gen so this ref is included
- //onlineHelp: 'qm_audio_device',
+ onlineHelp: 'qm_audio_device',
onGetValues: function(values) {
var ret = PVE.Parser.printPropertyString(values);
--
2.20.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [pve-devel] [PATCH docs] qm: update section about audio devices
2021-01-12 13:39 [pve-devel] [PATCH docs] qm: update section about audio devices Aaron Lauterer
2021-01-12 13:39 ` [pve-devel] [PATCH manager] ui: qemu/audio: enable help button Aaron Lauterer
@ 2021-01-12 13:56 ` Stefan Reiter
2021-01-28 16:37 ` [pve-devel] applied: " Thomas Lamprecht
2 siblings, 0 replies; 4+ messages in thread
From: Stefan Reiter @ 2021-01-12 13:56 UTC (permalink / raw)
To: pve-devel
On 12/01/2021 14:39, Aaron Lauterer wrote:
> With the ability to configure the `none` backend, the audio section
> needs an update.
>
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
> qm.adoc | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
>
> diff --git a/qm.adoc b/qm.adoc
> index 9c54903..d72798c 100644
> --- a/qm.adoc
> +++ b/qm.adoc
> @@ -796,11 +796,18 @@ Supported audio devices are:
> * `intel-hda`: Intel HD Audio Controller, emulates ICH6
> * `AC97`: Audio Codec '97, useful for older operating systems like Windows XP
>
> -NOTE: The audio device works only in combination with SPICE. Remote protocols
> -like Microsoft's RDP have options to play sound. To use the physical audio
> -device of the host use device passthrough (see
> -xref:qm_pci_passthrough[PCI Passthrough] and
> -xref:qm_usb_passthrough[USB Passthrough]).
> +There are two backends available:
> +
> +* 'spice'
> +* 'none'
> +
> +The 'spice' backend can be used in combination with xref:qm_display[SPICE] while
> +the 'none' backend can be useful if an audio device is needed in the VM for some
> +software to work. To use the physical audio device of the host use device
> +passthrough (see xref:qm_pci_passthrough[PCI Passthrough] and
> +xref:qm_usb_passthrough[USB Passthrough]). Remote protocols like Microsoft’s RDP
> +have options to play sound.
> +
I know it wasn't added in this patch, but from personal experience, USB
Passthrough for Audio will most likely give bad results. Even a pretty
standard DAC at 16 bit stereo 48KHz results in bad crackling on my
workstation. PCI Passthrough (of sound cards or USB controllers) works
fine, as it omits going through user space (I suspect it's latency that
kills it).
>
> [[qm_virtio_rng]]
> VirtIO RNG
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [pve-devel] applied: [PATCH docs] qm: update section about audio devices
2021-01-12 13:39 [pve-devel] [PATCH docs] qm: update section about audio devices Aaron Lauterer
2021-01-12 13:39 ` [pve-devel] [PATCH manager] ui: qemu/audio: enable help button Aaron Lauterer
2021-01-12 13:56 ` [pve-devel] [PATCH docs] qm: update section about audio devices Stefan Reiter
@ 2021-01-28 16:37 ` Thomas Lamprecht
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Lamprecht @ 2021-01-28 16:37 UTC (permalink / raw)
To: Proxmox VE development discussion, Aaron Lauterer
On 12.01.21 14:39, Aaron Lauterer wrote:
> With the ability to configure the `none` backend, the audio section
> needs an update.
>
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
> qm.adoc | 17 ++++++++++++-----
> 1 file changed, 12 insertions(+), 5 deletions(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-28 16:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12 13:39 [pve-devel] [PATCH docs] qm: update section about audio devices Aaron Lauterer
2021-01-12 13:39 ` [pve-devel] [PATCH manager] ui: qemu/audio: enable help button Aaron Lauterer
2021-01-12 13:56 ` [pve-devel] [PATCH docs] qm: update section about audio devices Stefan Reiter
2021-01-28 16:37 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox