diff mbox series

[1/5] qapi/audio: add documentation for AudioFormat

Message ID 20200302191004.5991-1-vr_qemu@t-online.de
State New
Headers show
Series mostly changes related to audio float samples | expand

Commit Message

Volker Rümelin March 2, 2020, 7:10 p.m. UTC
The review for patch ed2a4a7941 "audio: proper support for
float samples in mixeng" suggested this would be a good idea.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
---
 qapi/audio.json | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Markus Armbruster March 3, 2020, 5:47 a.m. UTC | #1
Volker Rümelin <vr_qemu@t-online.de> writes:

> The review for patch ed2a4a7941 "audio: proper support for
> float samples in mixeng" suggested this would be a good idea.
>
> Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
> ---
>  qapi/audio.json | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/qapi/audio.json b/qapi/audio.json
> index d8c507cced..07e7b05516 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)

floating-point

> +#
>  # Since: 4.0
>  ##
>  { 'enum': 'AudioFormat',

Acked-by: Markus Armbruster <armbru@redhat.com>
diff mbox series

Patch

diff --git a/qapi/audio.json b/qapi/audio.json
index d8c507cced..07e7b05516 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',