[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/6] qapi/audio: add documentation for AudioFormat
From: |
Gerd Hoffmann |
Subject: |
[PULL 1/6] qapi/audio: add documentation for AudioFormat |
Date: |
Mon, 16 Mar 2020 12:30:10 +0100 |
From: Volker RĂ¼melin <address@hidden>
The review for patch ed2a4a7941 "audio: proper support for
float samples in mixeng" suggested this would be a good idea.
Acked-by: Markus Armbruster <address@hidden>
Signed-off-by: Volker RĂ¼melin <address@hidden>
Tested-by: John Arbuckle <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
qapi/audio.json | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/qapi/audio.json b/qapi/audio.json
index d8c507ccedae..c31251f45b57 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',
--
2.18.2
- [PULL 0/6] Audio 20200316 patches, Gerd Hoffmann, 2020/03/16
- [PULL 1/6] qapi/audio: add documentation for AudioFormat,
Gerd Hoffmann <=
- [PULL 4/6] audio: change mixing engine float range to [-1.f, 1.f], Gerd Hoffmann, 2020/03/16
- [PULL 3/6] audio: consistency changes, Gerd Hoffmann, 2020/03/16
- [PULL 6/6] audio: add audiodev format=f32 option documentation, Gerd Hoffmann, 2020/03/16
- [PULL 5/6] audio: fix saturation nonlinearity in clip_* functions, Gerd Hoffmann, 2020/03/16
- [PULL 2/6] audio: change naming scheme of FLOAT_CONV macros, Gerd Hoffmann, 2020/03/16
- Re: [PULL 0/6] Audio 20200316 patches, Peter Maydell, 2020/03/16