]> git.proxmox.com Git - qemu.git/commitdiff
Remove OSS support for OpenBSD
authorBrad Smith <brad@comstyle.com>
Fri, 24 May 2013 23:01:07 +0000 (19:01 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 11 Jun 2013 22:21:47 +0000 (17:21 -0500)
Remove the OSS support for OpenBSD. The OSS API has not been usable
for quite some time.

Signed-off-by: Brad Smith <brad@comstyle.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit 4f6ab397b60615d2da77bff4f32666be9ac2e949)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
audio/ossaudio.c
configure

index 00be9c91e3bebb623d38251873a707c9c8e69b7b..007c64115aec20106a6a5b4ac7f4a42c6a821dcd 100644 (file)
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
-#ifdef __OpenBSD__
-#include <soundcard.h>
-#else
 #include <sys/soundcard.h>
-#endif
 #include "qemu-common.h"
 #include "qemu/main-loop.h"
 #include "qemu/host-utils.h"
index 5ae7e4a348d7b675db774a7fbf90400c28157ed6..eb745109409012156d032f300580ababe5c47cc3 100755 (executable)
--- a/configure
+++ b/configure
@@ -468,9 +468,8 @@ NetBSD)
 OpenBSD)
   bsd="yes"
   make="${MAKE-gmake}"
-  audio_drv_list="oss"
-  audio_possible_drivers="oss sdl esd"
-  oss_lib="-lossaudio"
+  audio_drv_list="sdl"
+  audio_possible_drivers="sdl esd"
 ;;
 Darwin)
   bsd="yes"