From: Ben Taylor <sol10x86@cox.net>
To: Qemu-devel@nongnu.org
Subject: [Qemu-devel] Patch: allow Solaris to use OSS (OpenSound)
Date: Sun, 25 Feb 2007 21:58:27 -0500 [thread overview]
Message-ID: <26530570.1172458707088.JavaMail.root@eastrmwml08.mgt.cox.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
As I seem to have hit a wall with the ES1370 driver in qemu not working
on Solaris, I have modified configure to allow Solaris to use OpenSoundSystems
audio.
Is there any interest in having a default audio setting for SDL so that
you won't have to always put QEMU_SDL_AUDIO=oss before you start
qemu?
Ben
[-- Attachment #2: qemu-solaris-oss.patch --]
[-- Type: text/x-patch, Size: 1377 bytes --]
diff -ruN qemu-ORIG/configure qemu/configure
--- qemu-ORIG/configure 2007-02-15 17:58:18.000000000 -0500
+++ qemu/configure 2007-02-25 20:26:11.270139000 -0500
@@ -221,6 +221,8 @@
;;
--fmod-inc=*) fmod_inc="$optarg"
;;
+ --enable-oss) oss="yes"
+ ;;
--enable-mingw32) mingw32="yes" ; cross_prefix="i386-mingw32-" ; linux_user="no"
;;
--disable-slirp) slirp="no"
@@ -289,6 +291,7 @@
echo " --enable-coreaudio enable Coreaudio audio driver"
echo " --enable-alsa enable ALSA audio driver"
echo " --enable-fmod enable FMOD audio driver"
+echo " --enable-oss enable OSS audio driver"
echo " --enabled-dsound enable DirectSound audio driver"
echo " --enable-system enable all system emulation targets"
echo " --disable-system disable all system emulation targets"
@@ -619,6 +622,16 @@
fmod_support=""
fi
echo "FMOD support $fmod $fmod_support"
+if test "$oss" = "yes"; then
+ if test "$solaris" = "yes" && ! test -f /usr/include/sys/soundcard.h ; then
+ echo
+ echo "Error: /usr/include/sys/soundcard.h not found"
+ echo "Error: You must install OSS to use the oss module"
+ echo
+ exit 1
+ fi
+fi
+echo "OSS support $oss"
echo "kqemu support $kqemu"
echo "Documentation $build_docs"
[ ! -z "$uname_release" ] && \
next reply other threads:[~2007-02-26 2:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-26 2:58 Ben Taylor [this message]
2007-02-26 10:47 ` [Qemu-devel] Patch: allow Solaris to use OSS (OpenSound) malc
-- strict thread matches above, loose matches on Subject: below --
2007-02-26 12:31 Ben Taylor
2007-02-26 12:56 ` malc
2007-02-26 14:23 Ben Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26530570.1172458707088.JavaMail.root@eastrmwml08.mgt.cox.net \
--to=sol10x86@cox.net \
--cc=Qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).