qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 019b5b: qapi/audio: add documentation for Aud


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 019b5b: qapi/audio: add documentation for AudioFormat
Date: Mon, 16 Mar 2020 08:00:16 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 019b5ba7b31cf4512fd1bd927d4d7cc53c27cdc1
      
https://github.com/qemu/qemu/commit/019b5ba7b31cf4512fd1bd927d4d7cc53c27cdc1
  Author: Volker Rümelin <address@hidden>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M qapi/audio.json

  Log Message:
  -----------
  qapi/audio: add documentation for AudioFormat

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>


  Commit: dd381319a39d90e3fddd7afbedf5293a49d6f1d6
      
https://github.com/qemu/qemu/commit/dd381319a39d90e3fddd7afbedf5293a49d6f1d6
  Author: Volker Rümelin <address@hidden>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M audio/mixeng.c

  Log Message:
  -----------
  audio: change naming scheme of FLOAT_CONV macros

This patch changes the naming scheme of the FLOAT_CONV_TO and
FLOAT_CONV_FROM macros to the scheme used in mixeng_template.h.

Signed-off-by: Volker Rümelin <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 33a93baeae4ca8f03a84b194c55f6e5ee09c33f8
      
https://github.com/qemu/qemu/commit/33a93baeae4ca8f03a84b194c55f6e5ee09c33f8
  Author: Volker Rümelin <address@hidden>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M audio/mixeng.c

  Log Message:
  -----------
  audio: consistency changes

Change the clip_natural_float_from_mono() function in
audio/mixeng.c to be consistent with the clip_*_from_mono()
functions in audio/mixeng_template.h.

Signed-off-by: Volker Rümelin <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 4218fdd77f1c8ab4dab5ced30c3a0db946a6f04c
      
https://github.com/qemu/qemu/commit/4218fdd77f1c8ab4dab5ced30c3a0db946a6f04c
  Author: Volker Rümelin <address@hidden>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M audio/mixeng.c
    M audio/mixeng_template.h

  Log Message:
  -----------
  audio: change mixing engine float range to [-1.f, 1.f]

Currently the internal float range of the mixing engine is
[-.5f, .5f]. PulseAudio, SDL2 and libasound use a [-1.f, 1.f]
range. This means with float samples the audio playback volume
is 6dB too low and audio recording signals will be clipped in
most cases.

To avoid another scaling factor in the conv_natural_float_* and
clip_natural_float_* functions with FLOAT_MIXENG defined this
patch changes the mixing engine float range to [-1.f, 1.f].

Signed-off-by: Volker Rümelin <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 194bdf50697689768335096b6c01c5b010f023ca
      
https://github.com/qemu/qemu/commit/194bdf50697689768335096b6c01c5b010f023ca
  Author: Volker Rümelin <address@hidden>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M audio/mixeng_template.h

  Log Message:
  -----------
  audio: fix saturation nonlinearity in clip_* functions

The current positive limit for the saturation nonlinearity is
only correct if the type of the result has 8 bits or less.

Signed-off-by: Volker Rümelin <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 49f77e6faf36cddd84417f9080462413acdbcc27
      
https://github.com/qemu/qemu/commit/49f77e6faf36cddd84417f9080462413acdbcc27
  Author: Volker Rümelin <address@hidden>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M qemu-options.hx

  Log Message:
  -----------
  audio: add audiodev format=f32 option documentation

The documentaion for -audiodev format=f32 option was missing.

Signed-off-by: Volker Rümelin <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 509f61798b5d1056dfbcbbc64a7c2998740f10d6
      
https://github.com/qemu/qemu/commit/509f61798b5d1056dfbcbbc64a7c2998740f10d6
  Author: Peter Maydell <address@hidden>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M audio/mixeng.c
    M audio/mixeng_template.h
    M qapi/audio.json
    M qemu-options.hx

  Log Message:
  -----------
  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) <address@hidden>" [full]
# gpg:                 aka "Gerd Hoffmann <address@hidden>" [full]
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>" [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 <address@hidden>


Compare: https://github.com/qemu/qemu/compare/61c265f0660e...509f61798b5d



reply via email to

[Prev in Thread] Current Thread [Next in Thread]