Hi,

I have read a report an bad doppler for MacOS then asked for some information but got no reply.
If this problem still persists could the MacOS users try this patch?

Erik
Index: soundmgr_openal.cxx
===================================================================
RCS file: /var/cvs/SimGear-0.3/source/simgear/sound/soundmgr_openal.cxx,v
retrieving revision 1.88
diff -p -u -r1.88 soundmgr_openal.cxx
--- soundmgr_openal.cxx	13 Jan 2010 14:29:59 -0000	1.88
+++ soundmgr_openal.cxx	20 Jan 2010 13:45:05 -0000
@@ -111,6 +111,7 @@ void SGSoundMgr::init(const char *devnam
     }
 
     ALCcontext *context = alcCreateContext(device, NULL);
+    testForALCError("context creation.");
     if ( testForError(context, "Unable to create a valid context.") ) {
         alcCloseDevice (device);
         return;
@@ -125,6 +126,7 @@ void SGSoundMgr::init(const char *devnam
 
     if (_context != NULL)
         SG_LOG(SG_GENERAL, SG_ALERT, "context is already assigned");
+    _device = device;
     _context = context;
     _working = true;
 
@@ -162,7 +164,7 @@ void SGSoundMgr::init(const char *devnam
 
     _vendor = (const char *)alGetString(AL_VENDOR);
     _renderer = (const char *)alGetString(AL_RENDERER);
-    if ( _vendor != "OpenAL Community" ||
+    if ( (_vendor != "OpenAL Community" && vendor != "Apple Computer Inc.") ||
         (_renderer != "Software" && _renderer != "OpenAL Sample Implementation")
        )
     {
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to