qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] bd56d3: audio: fix pc speaker init


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] bd56d3: audio: fix pc speaker init
Date: Fri, 25 Jan 2019 03:51:42 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: bd56d378842c238c8901536c06c20a4a51ee9761
      
https://github.com/qemu/qemu/commit/bd56d378842c238c8901536c06c20a4a51ee9761
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M hw/audio/pcspk.c

  Log Message:
  -----------
  audio: fix pc speaker init

Get rid of the pcspk_state global, allow pc speaker
be added using "-device isa-pcspk".

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden


  Commit: c80a867fa06ec1dcc8fe3460a8295160d68b8608
      
https://github.com/qemu/qemu/commit/c80a867fa06ec1dcc8fe3460a8295160d68b8608
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M configure

  Log Message:
  -----------
  audio: use pkg-config

Use pkg-config to probe for alsa and pulseaudio.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden


  Commit: e42975a153dc7d1d281b67dd31a4998d8df475f7
      
https://github.com/qemu/qemu/commit/e42975a153dc7d1d281b67dd31a4998d8df475f7
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M configure

  Log Message:
  -----------
  audio: allow optional audio drivers.

For those audio drivers which can be probed (sdl, alsa, pulse) add a
try-$name variants.  Unlike the variants without try- prefix they will
not error out on probe failure, the driver will be dropped from the list
instead.  Mainly useful for the audio_drv_list default values.

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: f92c7168cdb2a08e183b64f193cdd10535c68c2d
      
https://github.com/qemu/qemu/commit/f92c7168cdb2a08e183b64f193cdd10535c68c2d
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M configure

  Log Message:
  -----------
  audio: use try-sdl for openbsd

Fixes the openbsd build failure with SDL disabled.

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: d175505bd68dc35150664a50f51eb9ec1eeee333
      
https://github.com/qemu/qemu/commit/d175505bd68dc35150664a50f51eb9ec1eeee333
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M audio/paaudio.c

  Log Message:
  -----------
  audio: check for pulseaudio daemon pidfile

Check whenever the pulseaudio daemon pidfile is present before trying to
initialize the pulseaudio backend.  Just return NULL if that is not the
case, so qemu will check the next backend in line.

In case the user explicitly configured a non-default pulseaudio server
skip the check.

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: fb37ce92c8261d30e44760a12ede39957ddb59aa
      
https://github.com/qemu/qemu/commit/fb37ce92c8261d30e44760a12ede39957ddb59aa
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M audio/audio.c

  Log Message:
  -----------
  audio: error message tweak

Only print a message about the failed driver initialization in case it
was the driver explicitly requested by the user via QEMU_AUDIO_DRV=$drv.

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden


  Commit: 6a48541873f14b597630283f8f5397674ad82ea9
      
https://github.com/qemu/qemu/commit/6a48541873f14b597630283f8f5397674ad82ea9
  Author: Gerd Hoffmann <address@hidden>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M configure

  Log Message:
  -----------
  audio: probe audio drivers by default

Add the drivers listed in audio_possible_drivers to audio_drv_list,
using the try-* variants.  That way the probable drivers are compiled by
default if possible.

Additioal tweaks:
  linux: reorder to: pa alsa sdl oss.
  *bsd: drop pa.

Signed-off-by: Gerd Hoffmann <address@hidden>
Message-id: address@hidden


  Commit: 87f6a866f12b8ca037b0a5cfc2dc9b8db9e67696
      
https://github.com/qemu/qemu/commit/87f6a866f12b8ca037b0a5cfc2dc9b8db9e67696
  Author: Peter Maydell <address@hidden>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M audio/audio.c
    M audio/paaudio.c
    M configure
    M hw/audio/pcspk.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/kraxel/tags/audio-20190124-pull-request' into staging

audio: pc speaker init fix, rework driver probing

# gpg: Signature made Thu 24 Jan 2019 13:19:52 GMT
# gpg:                using RSA key 4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* remotes/kraxel/tags/audio-20190124-pull-request:
  audio: probe audio drivers by default
  audio: error message tweak
  audio: check for pulseaudio daemon pidfile
  audio: use try-sdl for openbsd
  audio: allow optional audio drivers.
  audio: use pkg-config
  audio: fix pc speaker init

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/7d8df3272dfb...87f6a866f12b
      **NOTE:** GitHub Services has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      We will provide an alternative path for the email notifications by 
January 31st, 2019.

reply via email to

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