OpenAL 3DSound Module
BlitzMax Forums/MiniB3D Module/OpenAL 3DSound Module
| ||
Hi, as a small 'gift' in the time where you wait on the new Versions of simonH and mine, I give you a OpenAL based 3DSound extension with I think all B3D 3D Sound Functions: EmitSound,Load3DSound,CreateListener (note, in fact it is more a SetListener because OpenAL only supports one listener) and PlayMusic (a Wrapper Function for Ambientsounds or BackgroundMmusic) Just import sidesign.minisound3d and you should normaly could use the 3D Sound (OpenAL have to be installed and on Win the OpenAL dll has to be shipped with your app). If you miss something or find a bug let me know. I will do my best to bugfix it when needed and adding useful functions. You can find the module here : http://klepto2.kl.funpic.de/DL/minisound3d.rar Also thx to Mark Sibly for the OpenAL Driver on which my sound driver is mainly based (only some naming changed and 1 or to internals) Enjoy. PS: Small update on the progress of my extended Version: -Particle Engine has 2 new Functions - SetWhirl (for nice Whirl effects,like tornados) - and a new Surfacebased Emittertype, where Particles are emitted along the surface vertex positions - Added also 2 new (but small) Functions to the miniB3D kernel which seems very useful for me: - Show- and HideSurface (eg: useful for some LOD handling) |
| ||
Klepto, It works great on my Audio3D SB Audigy 2 ZS Audio [8800] excellent work! here is another tiny sample. gives a bird's eye view of the "Listener" EDIT: I have "Audio3D SB Audigy 2 ZS Audio [8800]" with 7.1 speakers. EDIT: added runtimeerror if AL not installed. |
| ||
Hi Klepto2 The mod crash in Mac OsX (application shootdown) This is the osx system crash report: Date/Time: 2007-04-18 09:52:03.676 +0200 OS Version: 10.4.9 (Build 8P2137) Report Version: 4 Command: 3DSound Path: /Users/Ivan/Desktop/SoundSample/3DSound.app/Contents/MacOS/3DSound Parent: bmk [360] Version: ??? (???) PID: 369 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000008 Thread 0 Crashed: 0 3DSound 0x0011ad7a bbStringFind + 37 1 3DSound 0x00003512 _sidesign_minisound3d_TSound3D_SetAudio3DDriver + 39 2 3DSound 0x00004611 sidesign_minisound3d_SetAudio3DDriver + 24 3 3DSound 0x0000302e 5 + 14 4 3DSound 0x00002eee 4 + 20 5 3DSound 0x00002a3e -[BlitzMaxAppDelegate applicationDidFinishLaunching:] + 324 6 com.apple.Foundation 0x927e917b _nsnote_callback + 230 7 com.apple.CoreFoundation 0x908573e6 __CFXNotificationPost + 345 8 com.apple.CoreFoundation 0x9084ebd1 _CFXNotificationPostNotification + 600 9 com.apple.Foundation 0x927e1724 -[NSNotificationCenter postNotificationName:object:userInfo:] + 121 10 com.apple.Foundation 0x927e86c9 -[NSNotificationCenter postNotificationName:object:] + 55 11 com.apple.AppKit 0x93291e94 -[NSApplication _postDidFinishNotification] + 124 12 com.apple.AppKit 0x93291d7e -[NSApplication _sendFinishLaunchingNotification] + 67 13 com.apple.AppKit 0x9329187d -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 273 14 com.apple.AppKit 0x93291448 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 96 15 com.apple.Foundation 0x927eee65 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 447 16 com.apple.Foundation 0x927eec8f _NSAppleEventManagerGenericHandler + 91 17 com.apple.AE 0x915226c5 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 147 18 com.apple.AE 0x915225f6 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44 19 com.apple.AE 0x915224c2 aeProcessAppleEvent + 190 20 com.apple.HIToolbox 0x92dec0e4 AEProcessAppleEvent + 37 21 com.apple.AppKit 0x9328f63d _DPSNextEvent + 1044 22 com.apple.AppKit 0x9328f056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137 23 com.apple.AppKit 0x93288ddb -[NSApplication run] + 512 24 3DSound 0x00002e69 main + 1055 25 3DSound 0x000021da _start + 216 26 3DSound 0x00002101 start + 41 Thread 1: 0 libSystem.B.dylib 0x90009bf7 mach_msg_trap + 7 1 com.apple.CoreFoundation 0x9082e2b3 CFRunLoopRunSpecific + 2014 2 com.apple.CoreFoundation 0x9082dace CFRunLoopRunInMode + 61 3 com.apple.audio.CoreAudio 0x9146841e HALRunLoop::OwnThread(void*) + 158 4 com.apple.audio.CoreAudio 0x91468239 CAPThread::Entry(CAPThread*) + 93 5 libSystem.B.dylib 0x90024147 _pthread_body + 84 Thread 2: 0 libSystem.B.dylib 0x90048e07 semaphore_timedwait_signal_trap + 7 1 com.apple.audio.CoreAudio 0x9147565c CAGuard::WaitFor(unsigned long long) + 212 2 com.apple.audio.CoreAudio 0x9147557e CAGuard::WaitUntil(unsigned long long) + 66 3 com.apple.audio.CoreAudio 0x91473efa HP_IOThread::WorkLoop() + 690 4 com.apple.audio.CoreAudio 0x91473c43 HP_IOThread::ThreadEntry(HP_IOThread*) + 17 5 com.apple.audio.CoreAudio 0x91468239 CAPThread::Entry(CAPThread*) + 93 6 libSystem.B.dylib 0x90024147 _pthread_body + 84 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000007 ebx: 0x00002908 ecx: 0x00000000 edx: 0x00141480 edi: 0x0041d100 esi: 0x004259a0 ebp: 0xbfffef78 esp: 0xbfffef5c ss: 0x0000001f efl: 0x00210246 eip: 0x0011ad7a cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 Binary Images Description: 0x1000 - 0x140fff 3DSound /Users/Ivan/Desktop/SoundSample/3DSound.app/Contents/MacOS/3DSound 0x64e000 - 0x653fff com.apple.audio.AppleHDAHALPlugIn 1.2.9 (1.2.9a4) /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 0x6d2000 - 0x771fff ch.rafz.naegeli.christoph.xvid_codec 0.x.x /Library/QuickTime/XviD_Codec-r58 (Intel).component/Contents/MacOS/XviD_Codec 0x1032000 - 0x10a3fff com.DivXInc.DivXDecoder 6.2.5 /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder 0x10b1000 - 0x1203fff ch.rafz.naegeli.christoph.ff_avi_importer 1.0 (0.0) /Library/QuickTime/AviImporter-r7 (Intel).component/Contents/MacOS/AviImporter 0xc3c0000 - 0xc519fff GLEngine /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine 0xc545000 - 0xc733fff com.apple.ATIRadeonX1000GLDriver 1.4.52 (4.5.2) /System/Library/Extensions/ATIRadeonX1000GLDriver.bundle/Contents/MacOS/ATIRadeonX1000GLDriver 0xc76f000 - 0xc78bfff GLDriver /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundle/GLDriver 0xc792000 - 0xc7b6fff GLRendererFloat /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat 0x70000000 - 0x700fbfff com.apple.audio.units.Components 1.4.5 /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio 0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld 0x90000000 - 0x90172fff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x901c2000 - 0x901c4fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x901c6000 - 0x90203fff com.apple.CoreText 1.1.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText 0x9022a000 - 0x90300fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x90320000 - 0x90775fff com.apple.CoreGraphics 1.258.61 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x9080c000 - 0x908d4fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x90912000 - 0x90912fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x90914000 - 0x90a07fff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x90a57000 - 0x90ad6fff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90aff000 - 0x90b63fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib 0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.6 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90c66000 - 0x90c78fff libauto.dylib /usr/lib/libauto.dylib 0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore 682.18 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x91008000 - 0x91046fff com.apple.CFNetwork 129.20 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x91059000 - 0x91069fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore 0x91074000 - 0x910f3fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x9112d000 - 0x9114bfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x91157000 - 0x91165fff libz.1.dylib /usr/lib/libz.1.dylib 0x91168000 - 0x91307fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x91405000 - 0x9140dfff com.apple.DiskArbitration 2.1.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x91414000 - 0x9143afff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x9144c000 - 0x91453fff libbsm.dylib /usr/lib/libbsm.dylib 0x91457000 - 0x914cdfff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x9151e000 - 0x9151efff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x91520000 - 0x9154cfff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x9155f000 - 0x91633fff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x9166e000 - 0x916e1fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x9170f000 - 0x917b8fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x917de000 - 0x91829fff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x91848000 - 0x9185efff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x9186a000 - 0x91885fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent 0x91890000 - 0x918cdfff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x918e1000 - 0x918edfff com.apple.speech.synthesis.framework 3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x918f4000 - 0x91933fff com.apple.ImageIO.framework 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x91946000 - 0x919f8fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib 0x91a3e000 - 0x91a54fff libcups.2.dylib /usr/lib/libcups.2.dylib 0x91a59000 - 0x91a77fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x91a7c000 - 0x91adbfff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib 0x91aed000 - 0x91af1fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x91af3000 - 0x91b77fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib 0x91b7b000 - 0x91bb8fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x91bbe000 - 0x91bd8fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x91bdd000 - 0x91bdffff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x91be1000 - 0x91cbffff libxml2.2.dylib /usr/lib/libxml2.2.dylib 0x91cdc000 - 0x91cdcfff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x91cde000 - 0x91d6cfff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x91d73000 - 0x91d73fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x91d75000 - 0x91dcefff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x91dd7000 - 0x91dfbfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x91e03000 - 0x9220cfff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x92246000 - 0x925fafff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x92627000 - 0x92714fff libiconv.2.dylib /usr/lib/libiconv.2.dylib 0x92716000 - 0x92793fff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x927d4000 - 0x92a04fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x92b1e000 - 0x92b35fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x92b40000 - 0x92b98fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x92bac000 - 0x92bacfff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x92bae000 - 0x92bbefff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x92bcd000 - 0x92bd5fff com.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x92bdb000 - 0x92be1fff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x92be7000 - 0x92c78fff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x92c8c000 - 0x92c90fff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x92c93000 - 0x92cb1fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x92cc3000 - 0x92cc9fff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x92ccf000 - 0x92d32fff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x92d59000 - 0x92d9afff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x92dc1000 - 0x92dcffff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x92dd6000 - 0x92ddbfff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x92de0000 - 0x930d5fff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x931db000 - 0x931e6fff com.apple.opengl 1.4.16 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x93276000 - 0x93276fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x93278000 - 0x9392efff com.apple.AppKit 6.4.8 (824.42) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x93caf000 - 0x93d2afff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x93d63000 - 0x93e1dfff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x93e60000 - 0x93e60fff com.apple.audio.units.AudioUnit 1.4.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x93e62000 - 0x94023fff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x94069000 - 0x940aafff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib 0x940b2000 - 0x940ecfff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x940f1000 - 0x94102fff com.apple.CoreVideo 1.4 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x94293000 - 0x942a2fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x942a9000 - 0x942b4fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x94300000 - 0x9431afff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x94320000 - 0x945defff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime 0x9516c000 - 0x951fefff com.apple.WebKit 419 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit 0x95258000 - 0x952dafff com.apple.JavaScriptCore 418.3 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x95313000 - 0x955f2fff com.apple.WebCore 418.21 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore 0x95771000 - 0x95794fff libxslt.1.dylib /usr/lib/libxslt.1.dylib 0x96a4c000 - 0x96a4cfff com.apple.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x96fc6000 - 0x9709dfff libGLProgrammability.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x970b8000 - 0x970b9fff libGLSystem.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLSystem.dylib 0x970bb000 - 0x970c0fff com.apple.agl 2.5.9 (AGL-2.5.9) /System/Library/Frameworks/AGL.framework/Versions/A/AGL 0x98b23000 - 0x997f1fff com.apple.QuickTimeComponents.component 7.1.5 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents 0x9a7be000 - 0x9a7dffff com.apple.audio.OpenAL 1.1 /System/Library/Frameworks/OpenAL.framework/OpenAL Model: iMac5,1, BootROM IM51.0090.B03, 2 processors, Intel Core 2 Duo, 2 GHz, 1 GB Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB Memory Module: BANK 0/DIMM0, 512 MB, DDR2 SDRAM, 667 MHz Memory Module: BANK 1/DIMM1, 512 MB, DDR2 SDRAM, 667 MHz AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x87), Broadcom BCM43xx 1.0 (4.80.79.1) Bluetooth: Version 1.7.14f14, 2 service, 0 devices, 1 incoming serial ports Network Service: Ethernet incorporada, Ethernet, en0 Serial ATA Device: ST3160812AS Q, 149.05 GB Parallel ATA Device: MATSHITADVD-R UJ-85J USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA USB Device: Hub in Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 500 mA USB Device: Apple Optical USB Mouse, Primax Electronics, Up to 1.5 Mb/sec, 100 mA USB Device: Apple Pro Keyboard, Mitsumi Electric, Up to 12 Mb/sec, 250 mA USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA |
| ||
Does the normal OpenAL Driver for MAx2D work for you? If yes, could you just run this sample? Import sidesign.minib3d Import sidesign.minisound3d Local Drives:String[] = Audio3dDrives() For Local Drive:String = EachIn Drives Print Drive Next And post the drives? Also do you have OpenAL installed? |
| ||
klepto, maybe add this to your first post : note: you need to have OpenAL SDK installed. http://www.openal.org/downloads.html and example: If Not OpenALInstalled() print "OpenAL is not installed on this system, " OpenURL("http://www.openal.org/downloads.html") endif |
| ||
Works great here! |
| ||
klepto2 Now I have instaled OpenAL. I run the Drivers code: Building untitled1 Compiling:untitled1.bmx Linking:untitled1 Executing:untitled1 Audio3D Default Audio3D Process complete and next I run the module example code and it crash too. |
| ||
Have you tried the new OpenAL Audio Drivers in straight Max2D? Did they crash too? |
| ||
Yes, I download the SDK in www.openal.org/downloads.html |
| ||
Is this tested on latest minib3d version? I would love to have 3d sound when using minib3d. |
| ||
I'm not getting any 3D sound with this, it works but everything (apart from music) is mono, not placed on any 3D space. Any ideas why this may be happening? Is this a limitation of the sofware OpenAL renderer? If it is... it is not much usable! |
| ||
I will test them with the current version as soon as i'm at home but normally they should work with them. On the other hand i have an idea what going on and why it is not working correctly. Needs testing. |
| ||
I've already done, and it worked 'out of the box'. I've made some changes, several fixes, and a couple of improvements (such as being able to modify the background music volume, etc.) Do you mind if I fork this module and create a google dev group for it? I will happilly mantain it, as it seems like a very good piece of software! IMHO, It should be officially supported. |