All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marc E. Fiuczynski" <mef@CS.Princeton.EDU>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] PATCH to qemu head for disabled sdl
Date: Tue, 9 Nov 2004 15:01:58 -0500	[thread overview]
Message-ID: <NIBBJLJFDHPDIBEEKKLPEEGACLAA.mef@cs.princeton.edu> (raw)
In-Reply-To: <Pine.LNX.4.43.0411092035480.746-100000@thinkpad.gardas.net>

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

Hi,

The attached patch lets you compile qemu cvs HEAD with sdl disabled.  The
fix is trivial and I hope that it is of use to the qemu developers.

Marc





[-- Attachment #2: sdl-audio-off.patch --]
[-- Type: application/octet-stream, Size: 1147 bytes --]

Index: Makefile.target
===================================================================
RCS file: /cvsroot/qemu/qemu/Makefile.target,v
retrieving revision 1.44
diff -d -u -r1.44 Makefile.target
--- Makefile.target	7 Nov 2004 18:04:02 -0000	1.44
+++ Makefile.target	9 Nov 2004 19:55:48 -0000
@@ -278,7 +278,12 @@
 VL_OBJS+=block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o
 
 SOUND_HW = sb16.o
-AUDIODRV = audio.o ossaudio.o sdlaudio.o wavaudio.o
+AUDIODRV = audio.o ossaudio.o wavaudio.o
+ifdef CONFIG_SDL
+AUDIODRV += sdlaudio.o
+audio.o: DEFINES := -DUSE_SDL_AUDIO $(DEFINES)
+endif
+
 
 ifeq ($(USE_ADLIB),1)
 SOUND_HW += fmopl.o adlib.o
Index: audio/audio.c
===================================================================
RCS file: /cvsroot/qemu/qemu/audio/audio.c,v
retrieving revision 1.1
diff -d -u -r1.1 audio.c
--- audio/audio.c	7 Nov 2004 18:04:02 -0000	1.1
+++ audio/audio.c	9 Nov 2004 19:55:48 -0000
@@ -28,7 +28,6 @@
 #define AUDIO_CAP "audio"
 #include "audio/audio.h"
 
-#define USE_SDL_AUDIO
 #define USE_WAV_AUDIO
 
 #if defined __linux__ || (defined _BSD && !defined __APPLE__)

      reply	other threads:[~2004-11-09 20:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08 23:29 [Qemu-devel] "Press Ctrl-Alt to exit grab" is not working on Debian GNU/Linux 3.0 (woody) Karel Gardas
2004-11-08 23:40 ` Johannes Schindelin
2004-11-09 10:24   ` Karel Gardas
2004-11-09 10:54     ` Karel Gardas
2004-11-09 13:16       ` Jim C. Brown
2004-11-09 19:41         ` Karel Gardas
2004-11-09 12:11     ` Johannes Schindelin
2004-11-09 19:37       ` Karel Gardas
2004-11-09 20:01         ` Marc E. Fiuczynski [this message]

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=NIBBJLJFDHPDIBEEKKLPEEGACLAA.mef@cs.princeton.edu \
    --to=mef@cs.princeton.edu \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.