qapi/audio: add documentation for AudioFormat
authorVolker Rümelin <vr_qemu@t-online.de>
Sun, 8 Mar 2020 19:33:16 +0000 (20:33 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 16 Mar 2020 09:18:07 +0000 (10:18 +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 <armbru@redhat.com>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Tested-by: John Arbuckle <programmingkidx@gmail.com>
Message-id: 20200308193321.20668-1-vr_qemu@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qapi/audio.json

index d8c507ccedae21c25a1fd821169a77a7c2833d91..c31251f45b576f3e21f6c2fa20779c948bb394ae 100644 (file)
 #
 # 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',