summaryrefslogtreecommitdiffstats
path: root/qapi/audio.json
diff options
context:
space:
mode:
authorPeter Maydell2020-03-16 14:06:14 +0100
committerPeter Maydell2020-03-16 14:06:14 +0100
commit509f61798b5d1056dfbcbbc64a7c2998740f10d6 (patch)
tree140d946d714d87d8574eeb43f099a2fd9dc669e3 /qapi/audio.json
parentMerge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20200313a'... (diff)
parentaudio: add audiodev format=f32 option documentation (diff)
downloadqemu-509f61798b5d1056dfbcbbc64a7c2998740f10d6.tar.gz
qemu-509f61798b5d1056dfbcbbc64a7c2998740f10d6.tar.xz
qemu-509f61798b5d1056dfbcbbc64a7c2998740f10d6.zip
Merge remote-tracking branch 'remotes/kraxel/tags/audio-20200316-pull-request' into staging
audio: float fixes # gpg: Signature made Mon 16 Mar 2020 11:30:00 GMT # gpg: using RSA key 4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full] # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" [full] # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full] # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * remotes/kraxel/tags/audio-20200316-pull-request: audio: add audiodev format=f32 option documentation audio: fix saturation nonlinearity in clip_* functions audio: change mixing engine float range to [-1.f, 1.f] audio: consistency changes audio: change naming scheme of FLOAT_CONV macros qapi/audio: add documentation for AudioFormat Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qapi/audio.json')
-rw-r--r--qapi/audio.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/qapi/audio.json b/qapi/audio.json
index d8c507cced..c31251f45b 100644
--- a/qapi/audio.json
+++ b/qapi/audio.json
@@ -273,6 +273,20 @@
#
# An enumeration of possible audio formats.
#
+# @u8: unsigned 8 bit integer
+#
+# @s8: signed 8 bit integer
+#
+# @u16: unsigned 16 bit integer
+#
+# @s16: signed 16 bit integer
+#
+# @u32: unsigned 32 bit integer
+#
+# @s32: signed 32 bit integer
+#
+# @f32: single precision floating-point (since 5.0)
+#
# Since: 4.0
##
{ 'enum': 'AudioFormat',