[Qemu-devel] [PULL 00/15] Audio 20190813 patches

Gerd Hoffmann posted 15 patches 4 days ago
Only 1 patches received!
audio/audio.h                    |  36 +--
audio/audio_int.h                |  43 ++--
audio/audio_template.h           |  62 +++--
audio/mixeng.h                   |   9 +-
audio/rate_template.h            |   2 +-
include/hw/qdev-properties.h     |   3 +
include/sysemu/replay.h          |   4 +-
ui/vnc.h                         |   2 +
audio/alsaaudio.c                |  49 ++--
audio/audio.c                    | 347 ++++++++++++++-----------
audio/coreaudio.c                |  18 +-
audio/dsoundaudio.c              |  25 +-
audio/noaudio.c                  |  39 +--
audio/ossaudio.c                 |  75 +++---
audio/paaudio.c                  | 421 ++++++++++++++++++-------------
audio/sdlaudio.c                 |  30 +--
audio/spiceaudio.c               |  34 +--
audio/wavaudio.c                 |  18 +-
audio/wavcapture.c               |   6 +-
hw/audio/ac97.c                  |  11 +-
hw/audio/adlib.c                 |   5 +-
hw/audio/cs4231a.c               |   5 +-
hw/audio/es1370.c                |  13 +-
hw/audio/gus.c                   |   7 +-
hw/audio/hda-codec.c             |  17 +-
hw/audio/milkymist-ac97.c        |  14 +-
hw/audio/pcspk.c                 |   3 +-
hw/audio/pl041.c                 |   1 +
hw/audio/sb16.c                  |   3 +-
hw/audio/wm8750.c                |  10 +-
hw/core/qdev-properties-system.c |  57 +++++
hw/usb/dev-audio.c               |   1 +
monitor/misc.c                   |  22 +-
replay/replay-audio.c            |  16 +-
replay/replay.c                  |   2 +-
ui/vnc.c                         |  15 +-
hmp-commands.hx                  |  11 +-
qemu-options.hx                  |   6 +
38 files changed, 790 insertions(+), 652 deletions(-)

[Qemu-devel] [PULL 00/15] Audio 20190813 patches

Posted by Gerd Hoffmann 4 days ago
The following changes since commit 5e7bcdcfe69ce0fad66012b2cfb2035003c37eef:

  display/bochs: fix pcie support (2019-08-12 16:36:41 +0100)

are available in the Git repository at:

  git://git.kraxel.org/qemu tags/audio-20190813-pull-request

for you to fetch changes up to 7f6f83e89de6967db66a87f7ceb7be3c02a24d56:

  audio: Add missing fall through comments (2019-08-13 12:17:57 +0200)

----------------------------------------------------------------
audio: second batch of -audiodev support, adding support for multiple backends.

----------------------------------------------------------------

Kővágó, Zoltán (14):
  audio: reduce glob_audio_state usage
  audio: basic support for multi backend audio
  audio: add audiodev property to vnc and wav_capture
  audio: add audiodev properties to frontends
  paaudio: prepare for multiple audiodev
  audio: audiodev= parameters no longer optional when -audiodev present
  paaudio: do not move stream when sink/source name is specified
  paaudio: properly disconnect streams in fini_*
  audio: remove audio_MIN, audio_MAX
  audio: do not run each backend in audio_run
  paaudio: fix playback glitches
  audio: remove read and write pcm_ops
  audio: use size_t where makes sense
  audio: fix memory leak reported by ASAN

Stefan Weil (1):
  audio: Add missing fall through comments

 audio/audio.h                    |  36 +--
 audio/audio_int.h                |  43 ++--
 audio/audio_template.h           |  62 +++--
 audio/mixeng.h                   |   9 +-
 audio/rate_template.h            |   2 +-
 include/hw/qdev-properties.h     |   3 +
 include/sysemu/replay.h          |   4 +-
 ui/vnc.h                         |   2 +
 audio/alsaaudio.c                |  49 ++--
 audio/audio.c                    | 347 ++++++++++++++-----------
 audio/coreaudio.c                |  18 +-
 audio/dsoundaudio.c              |  25 +-
 audio/noaudio.c                  |  39 +--
 audio/ossaudio.c                 |  75 +++---
 audio/paaudio.c                  | 421 ++++++++++++++++++-------------
 audio/sdlaudio.c                 |  30 +--
 audio/spiceaudio.c               |  34 +--
 audio/wavaudio.c                 |  18 +-
 audio/wavcapture.c               |   6 +-
 hw/audio/ac97.c                  |  11 +-
 hw/audio/adlib.c                 |   5 +-
 hw/audio/cs4231a.c               |   5 +-
 hw/audio/es1370.c                |  13 +-
 hw/audio/gus.c                   |   7 +-
 hw/audio/hda-codec.c             |  17 +-
 hw/audio/milkymist-ac97.c        |  14 +-
 hw/audio/pcspk.c                 |   3 +-
 hw/audio/pl041.c                 |   1 +
 hw/audio/sb16.c                  |   3 +-
 hw/audio/wm8750.c                |  10 +-
 hw/core/qdev-properties-system.c |  57 +++++
 hw/usb/dev-audio.c               |   1 +
 monitor/misc.c                   |  22 +-
 replay/replay-audio.c            |  16 +-
 replay/replay.c                  |   2 +-
 ui/vnc.c                         |  15 +-
 hmp-commands.hx                  |  11 +-
 qemu-options.hx                  |   6 +
 38 files changed, 790 insertions(+), 652 deletions(-)

-- 
2.18.1


Re: [Qemu-devel] [PULL 00/15] Audio 20190813 patches

Posted by Peter Maydell 1 day ago
On Tue, 13 Aug 2019 at 12:20, Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> The following changes since commit 5e7bcdcfe69ce0fad66012b2cfb2035003c37eef:
>
>   display/bochs: fix pcie support (2019-08-12 16:36:41 +0100)
>
> are available in the Git repository at:
>
>   git://git.kraxel.org/qemu tags/audio-20190813-pull-request
>
> for you to fetch changes up to 7f6f83e89de6967db66a87f7ceb7be3c02a24d56:
>
>   audio: Add missing fall through comments (2019-08-13 12:17:57 +0200)
>
> ----------------------------------------------------------------
> audio: second batch of -audiodev support, adding support for multiple backends.
>
> ----------------------------------------------------------------


Hi; this fails the Windows build:

/home/petmay01/qemu-for-merges/audio/dsoundaudio.c: In function
'dsound_run_out':
/home/petmay01/qemu-for-merges/audio/dsoundaudio.c:537:33: error:
comparison of unsigned expression < 0 is always false
[-Werror=type-limits]
     if (audio_bug(__func__, len < 0 || len > bufsize)) {
                                 ^
In file included from /home/petmay01/qemu-for-merges/audio/dsoundaudio.c:33:0:
/home/petmay01/qemu-for-merges/audio/dsoundaudio.c:538:16: error:
format '%d' expects argument of type 'int', but argument 3 has type
'size_t {aka long long unsigned int}' [-Werror=format=]
         dolog ("len=%d bufsize=%d old_pos=%ld ppos=%ld\n",
                ^
/home/petmay01/qemu-for-merges/audio/audio_int.h:232:44: note: in
definition of macro 'dolog'
 #define dolog(fmt, ...) AUD_log(AUDIO_CAP, fmt, ## __VA_ARGS__)
                                            ^
/home/petmay01/qemu-for-merges/audio/dsoundaudio.c:538:16: error:
format '%d' expects argument of type 'int', but argument 4 has type
'size_t {aka long long unsigned int}' [-Werror=format=]
         dolog ("len=%d bufsize=%d old_pos=%ld ppos=%ld\n",
                ^
/home/petmay01/qemu-for-merges/audio/audio_int.h:232:44: note: in
definition of macro 'dolog'
 #define dolog(fmt, ...) AUD_log(AUDIO_CAP, fmt, ## __VA_ARGS__)
                                            ^
cc1: all warnings being treated as errors
/home/petmay01/qemu-for-merges/rules.mak:69: recipe for target
'audio/dsoundaudio.o' failed

thanks
-- PMM

Re: [Qemu-devel] [PULL 00/15] Audio 20190813 patches

Posted by Peter Maydell 4 days ago
On Tue, 13 Aug 2019 at 12:20, Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> The following changes since commit 5e7bcdcfe69ce0fad66012b2cfb2035003c37eef:
>
>   display/bochs: fix pcie support (2019-08-12 16:36:41 +0100)
>
> are available in the Git repository at:
>
>   git://git.kraxel.org/qemu tags/audio-20190813-pull-request
>
> for you to fetch changes up to 7f6f83e89de6967db66a87f7ceb7be3c02a24d56:
>
>   audio: Add missing fall through comments (2019-08-13 12:17:57 +0200)
>
> ----------------------------------------------------------------
> audio: second batch of -audiodev support, adding support for multiple backends.
>
> ----------------------------------------------------------------

We're still in freeze for 4.1 and will be until at least Thursday...

thanks
-- PMM

Re: [Qemu-devel] [PULL 00/15] Audio 20190813 patches

Posted by Gerd Hoffmann 4 days ago
On Tue, Aug 13, 2019 at 12:22:01PM +0100, Peter Maydell wrote:
> On Tue, 13 Aug 2019 at 12:20, Gerd Hoffmann <kraxel@redhat.com> wrote:
> >
> > The following changes since commit 5e7bcdcfe69ce0fad66012b2cfb2035003c37eef:
> >
> >   display/bochs: fix pcie support (2019-08-12 16:36:41 +0100)
> >
> > are available in the Git repository at:
> >
> >   git://git.kraxel.org/qemu tags/audio-20190813-pull-request
> >
> > for you to fetch changes up to 7f6f83e89de6967db66a87f7ceb7be3c02a24d56:
> >
> >   audio: Add missing fall through comments (2019-08-13 12:17:57 +0200)
> >
> > ----------------------------------------------------------------
> > audio: second batch of -audiodev support, adding support for multiple backends.
> >
> > ----------------------------------------------------------------
> 
> We're still in freeze for 4.1 and will be until at least Thursday...

Sure, I didn't expect it to be merged right away.  I just started
collecting the patches which have piled up during the freeze into
(post-freeze) pull requests.

cheers,
  Gerd