qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 0bac11: audio: remove esd backend


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 0bac11: audio: remove esd backend
Date: Mon, 15 Jun 2015 10:30:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 0bac111167e33838fa869cacd16f92e5899252b3
      
https://github.com/qemu/qemu/commit/0bac111167e33838fa869cacd16f92e5899252b3
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/Makefile.objs
    M audio/audio_int.h
    R audio/esdaudio.c
    M configure

  Log Message:
  -----------
  audio: remove esd backend

ESD is no longer developed and replaced by PulseAudio.

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 14382605da6bda74516f275695bd3345bc54c464
      
https://github.com/qemu/qemu/commit/14382605da6bda74516f275695bd3345bc54c464
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/Makefile.objs
    M audio/audio_int.h
    R audio/fmodaudio.c
    M configure

  Log Message:
  -----------
  audio: remove fmod backend

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 3cec7cc22f95ce31565e8e2c03b06a2f7ae8bc6f
      
https://github.com/qemu/qemu/commit/3cec7cc22f95ce31565e8e2c03b06a2f7ae8bc6f
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/Makefile.objs
    M audio/audio_int.h
    R audio/winwaveaudio.c
    M configure

  Log Message:
  -----------
  audio: remove winwave audio driver

DirectSound should be a superior choice on Windows.

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 307119e7d948bcdb5918fd762153deda471e695b
      
https://github.com/qemu/qemu/commit/307119e7d948bcdb5918fd762153deda471e695b
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M configure

  Log Message:
  -----------
  only enable dsound in case the header file is present

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


  Commit: 5706db1deb061ee9affdcea81e59c4c2cad7c41e
      
https://github.com/qemu/qemu/commit/5706db1deb061ee9affdcea81e59c4c2cad7c41e
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/alsaaudio.c
    M audio/audio_int.h
    M audio/audio_template.h
    M audio/coreaudio.c
    M audio/dsound_template.h
    M audio/noaudio.c
    M audio/ossaudio.c
    M audio/paaudio.c
    M audio/sdlaudio.c
    M audio/spiceaudio.c
    M audio/wavaudio.c

  Log Message:
  -----------
  audio: expose drv_opaque to init_out and init_in

Currently the opaque pointer returned by audio_driver's init is only
exposed to the driver's fini, but not to audio_pcm_ops. This way if
someone wants to share a variable with the driver and the pcm, he must
use global variables. This patch fixes it by adding a third parameter to
audio_pcm_op's init_out and init_in.

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 9a644c4b4dfc7ebe7994bfa568cbeaa1847ca5ff
      
https://github.com/qemu/qemu/commit/9a644c4b4dfc7ebe7994bfa568cbeaa1847ca5ff
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/paaudio.c

  Log Message:
  -----------
  paaudio: do not use global variables

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 765b37da3f2824afd45b38c038af44da42b956f6
      
https://github.com/qemu/qemu/commit/765b37da3f2824afd45b38c038af44da42b956f6
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/alsaaudio.c

  Log Message:
  -----------
  alsaaudio: do not use global variables

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 4045a85ad1aadb1a56038ed3358e2093ba88f91f
      
https://github.com/qemu/qemu/commit/4045a85ad1aadb1a56038ed3358e2093ba88f91f
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/ossaudio.c

  Log Message:
  -----------
  ossaudio: do not use global variables

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: f2dcc6cec285938967446d412b0477e02e26f3ca
      
https://github.com/qemu/qemu/commit/f2dcc6cec285938967446d412b0477e02e26f3ca
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/wavaudio.c

  Log Message:
  -----------
  wavaudio: do not use global variables

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 49dd6d0d33e1a59b4055713079e64062bc5092b5
      
https://github.com/qemu/qemu/commit/49dd6d0d33e1a59b4055713079e64062bc5092b5
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/paaudio.c

  Log Message:
  -----------
  paaudio: fix possible resource leak

qpa_audio_init did not clean up resources properly if the initialization
failed. This hopefully fixes it.

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 191e1f0acd32360b917fa54a52389b97d9b52b6f
      
https://github.com/qemu/qemu/commit/191e1f0acd32360b917fa54a52389b97d9b52b6f
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/dsound_template.h
    M audio/dsoundaudio.c

  Log Message:
  -----------
  dsoundaudio: do not use global variables

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d1f52a1d704de2252bc48c64ca4d46086cb249a2
      
https://github.com/qemu/qemu/commit/d1f52a1d704de2252bc48c64ca4d46086cb249a2
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/coreaudio.c

  Log Message:
  -----------
  coreaudio: do not use global variables where possible

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 81ebb07c56a28aa7ca47c38eb44690025a9dd6b9
      
https://github.com/qemu/qemu/commit/81ebb07c56a28aa7ca47c38eb44690025a9dd6b9
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/sdlaudio.c

  Log Message:
  -----------
  sdlaudio: do not allow multiple instances

Since SDL uses a lot of global data, we can't create independent
instances of sdl audio backend.

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 65eb1e6b4c1c4f66deff9cdf9bfbdea267c59343
      
https://github.com/qemu/qemu/commit/65eb1e6b4c1c4f66deff9cdf9bfbdea267c59343
  Author: Gerd Hoffmann <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: remove malc from audio

email bounces, with a appearently permanent error:
"address@hidden mail receiving disabled, rejecting"

Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Gonglei <address@hidden>


  Commit: 06ac27f683c52890a6d174adba8c92354fa1eceb
      
https://github.com/qemu/qemu/commit/06ac27f683c52890a6d174adba8c92354fa1eceb
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/audio.c
    M include/monitor/monitor.h
    M monitor.c

  Log Message:
  -----------
  audio: remove LOG_TO_MONITOR along with default_mon

Setting QEMU_AUDIO_LOG_TO_MONITOR=1 can crash qemu (if qemu tries to log
to the monitor before it's being initialized), and also nothing else in
qemu logs to the monitor.

This log to monitor feature was the last thing that used the default_mon
variable, so I removed it too (as using it can cause problems).

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 73ad33ef7ba0d1e7c7f276663f36c4f72b9193a9
      
https://github.com/qemu/qemu/commit/73ad33ef7ba0d1e7c7f276663f36c4f72b9193a9
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/audio.c
    M audio/audio_template.h

  Log Message:
  -----------
  audio: remove plive

It was useless even 3 years ago, so it can probably safely go away:
https://lists.nongnu.org/archive/html/qemu-devel/2012-03/msg02427.html

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 2762955f723570944966347600b5746e7dd99388
      
https://github.com/qemu/qemu/commit/2762955f723570944966347600b5746e7dd99388
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/dsound_template.h
    M audio/dsoundaudio.c

  Log Message:
  -----------
  dsoundaudio: remove *_retries kludges

According to MSDN this may happen when the window is not in the foreground, but
the default is 1 since a long time (which means no retries), so it should be ok.
I've found no problems during testing it on Windows 7 and wine, so this was
probably only the case with some old Windows versions.

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 6dd35fd81e06d469b6f5280adee0a16ee383db57
      
https://github.com/qemu/qemu/commit/6dd35fd81e06d469b6f5280adee0a16ee383db57
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/dsoundaudio.c

  Log Message:
  -----------
  dsoundaudio: remove primary buffer

Enabling this option just creates a playback buffer with the specified settings,
and then ignores it. It's probably some outdated hack to set audio formats on
windows. (The first created stream dictates all other streams settings, at least
on some Windows versions). Setting DAC_FIXED_SETTINGS should have the same
effect as setting (the now removed) primary buffer.

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: fbb7ef56d55723a4996c288b50a16e6283eea13f
      
https://github.com/qemu/qemu/commit/fbb7ef56d55723a4996c288b50a16e6283eea13f
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/alsaaudio.c
    M trace-events

  Log Message:
  -----------
  alsaaudio: use trace events instead of verbose

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: d95d7d802c33f6277c9fb967c14ae0cc99aeb072
      
https://github.com/qemu/qemu/commit/d95d7d802c33f6277c9fb967c14ae0cc99aeb072
  Author: Kővágó, Zoltán <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M audio/ossaudio.c
    M trace-events

  Log Message:
  -----------
  ossaudio: use trace events instead of debug config flag

Signed-off-by: Kővágó, Zoltán <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: b500e4db8e3e0b5f41a2dd14e2001200e5fc7d6b
      
https://github.com/qemu/qemu/commit/b500e4db8e3e0b5f41a2dd14e2001200e5fc7d6b
  Author: Peter Maydell <address@hidden>
  Date:   2015-06-15 (Mon, 15 Jun 2015)

  Changed paths:
    M MAINTAINERS
    M audio/Makefile.objs
    M audio/alsaaudio.c
    M audio/audio.c
    M audio/audio_int.h
    M audio/audio_template.h
    M audio/coreaudio.c
    M audio/dsound_template.h
    M audio/dsoundaudio.c
    R audio/esdaudio.c
    R audio/fmodaudio.c
    M audio/noaudio.c
    M audio/ossaudio.c
    M audio/paaudio.c
    M audio/sdlaudio.c
    M audio/spiceaudio.c
    M audio/wavaudio.c
    R audio/winwaveaudio.c
    M configure
    M include/monitor/monitor.h
    M monitor.c
    M trace-events

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

audio: remove obsolete backends (esd, fmod, winwave).
audio: stop using global variables, small fixes.
audio: remove some obsolte and unused code.

# gpg: Signature made Mon Jun 15 13:24:44 2015 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-audio-20150615-1:
  ossaudio: use trace events instead of debug config flag
  alsaaudio: use trace events instead of verbose
  dsoundaudio: remove primary buffer
  dsoundaudio: remove *_retries kludges
  audio: remove plive
  audio: remove LOG_TO_MONITOR along with default_mon
  MAINTAINERS: remove malc from audio
  sdlaudio: do not allow multiple instances
  coreaudio: do not use global variables where possible
  dsoundaudio: do not use global variables
  paaudio: fix possible resource leak
  wavaudio: do not use global variables
  ossaudio: do not use global variables
  alsaaudio: do not use global variables
  paaudio: do not use global variables
  audio: expose drv_opaque to init_out and init_in
  only enable dsound in case the header file is present
  audio: remove winwave audio driver
  audio: remove fmod backend
  audio: remove esd backend

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


Compare: https://github.com/qemu/qemu/compare/46bca5404b08...b500e4db8e3e

reply via email to

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