[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 1/6] qapi/audio: add documentation for AudioFormat
From: |
Volker Rümelin |
Subject: |
[PATCH v2 1/6] qapi/audio: add documentation for AudioFormat |
Date: |
Sun, 8 Mar 2020 20:33:16 +0100 |
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>
---
qapi/audio.json | 14 ++++++++++++++
1 file changed, 14 insertions(+)
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',
--
2.16.4
- [PATCH v2 0/6] mostly changes related to audio float samples, Volker Rümelin, 2020/03/08
- [PATCH v2 1/6] qapi/audio: add documentation for AudioFormat,
Volker Rümelin <=
- [PATCH v2 4/6] audio: change mixing engine float range to [-1.f, 1.f], Volker Rümelin, 2020/03/08
- [PATCH v2 3/6] audio: consistency changes, Volker Rümelin, 2020/03/08
- [PATCH v2 2/6] audio: change naming scheme of FLOAT_CONV macros, Volker Rümelin, 2020/03/08
- [PATCH v2 5/6] audio: fix saturation nonlinearity in clip_* functions, Volker Rümelin, 2020/03/08
- [PATCH v2 6/6] audio: add audiodev format=f32 option documentation, Volker Rümelin, 2020/03/08
- Re: [PATCH v2 0/6] mostly changes related to audio float samples, Gerd Hoffmann, 2020/03/16