qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH] audio: proper support for float samples in mixeng


From: Eric Blake
Subject: Re: [RFC PATCH] audio: proper support for float samples in mixeng
Date: Mon, 3 Feb 2020 09:34:07 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 2/3/20 12:21 AM, Markus Armbruster wrote:
"Kővágó, Zoltán" <address@hidden> writes:

This adds proper support for float samples in mixeng by adding a new
audio format for it.

Limitations: only native endianness is supported.

Signed-off-by: Kővágó, Zoltán <address@hidden>
---

This patch is meant to be applied on top of "[PATCH] coreaudio: fix coreaudio
playback" by Volker Rümelin, available at:
https://lists.nongnu.org/archive/html/qemu-devel/2020-02/msg00114.html

For more information, please refer to that thread.

---

+++ b/qapi/audio.json
@@ -276,7 +276,7 @@
  # Since: 4.0
  ##
  { 'enum': 'AudioFormat',
-  'data': [ 'u8', 's8', 'u16', 's16', 'u32', 's32' ] }
+  'data': [ 'u8', 's8', 'u16', 's16', 'u32', 's32', 'f32' ] }
##
  # @AudiodevDriver:

For QAPI:
Acked-by: Markus Armbruster <address@hidden>

Is it worth a comment update mentioning that 'f32' is '(since 5.0)'?


--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]