From f76e275e2cef44b0f951c4b70af3e0be4b194ca0 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 15 Nov 2015 18:31:20 +0100 Subject: [PATCH 1/3] Changed: Temporary comment the line because XAudio2 returns an error if used --HG-- branch : develop --- code/nel/src/sound/driver/xaudio2/sound_driver_xaudio2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/sound/driver/xaudio2/sound_driver_xaudio2.cpp b/code/nel/src/sound/driver/xaudio2/sound_driver_xaudio2.cpp index b95735fc5..3cc7a7dd2 100644 --- a/code/nel/src/sound/driver/xaudio2/sound_driver_xaudio2.cpp +++ b/code/nel/src/sound/driver/xaudio2/sound_driver_xaudio2.cpp @@ -179,7 +179,7 @@ CSoundDriverXAudio2::CSoundDriverXAudio2(ISoundDriver::IStringMapperProvider * / uint32 flags = 0; #ifdef NL_DEBUG - flags |= XAUDIO2_DEBUG_ENGINE; // comment when done using this :) +// flags |= XAUDIO2_DEBUG_ENGINE; // comment when done using this :) #endif // XAudio2 From c83ea11e8404e0360a58e558fa9d7e136b4f158e Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 15 Nov 2015 18:31:56 +0100 Subject: [PATCH 2/3] Changed: Display basic information for OpenAL driver --HG-- branch : develop --- code/nel/src/sound/driver/openal/sound_driver_al.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/nel/src/sound/driver/openal/sound_driver_al.cpp b/code/nel/src/sound/driver/openal/sound_driver_al.cpp index 82f52b782..4aa358062 100644 --- a/code/nel/src/sound/driver/openal/sound_driver_al.cpp +++ b/code/nel/src/sound/driver/openal/sound_driver_al.cpp @@ -630,7 +630,11 @@ void CSoundDriverAL::commit3DChanges() /// Write information about the driver to the output stream. void CSoundDriverAL::writeProfile(std::string& out) { - // TODO + out = toString("OpenAL\n"); + out += toString("Source size: %u\n", (uint32)_Sources.size()); + out += toString("Effects size: %u\n", (uint32)_Effects.size()); + + // TODO: write other useful information like OpenAL version and supported extensions } // Does not create a sound loader .. what does it do then? From 6d52aa7077be71c83e1991c270c98acb04c7c205 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 15 Nov 2015 18:33:09 +0100 Subject: [PATCH 3/3] Fixed: Revert back TrapCrashInDebugger to false else VC++ can't intercept exceptions and we'll be unable to debug :( --HG-- branch : develop --- code/nel/src/misc/debug.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/nel/src/misc/debug.cpp b/code/nel/src/misc/debug.cpp index 798161a21..bcd2d25cb 100644 --- a/code/nel/src/misc/debug.cpp +++ b/code/nel/src/misc/debug.cpp @@ -79,8 +79,7 @@ using namespace std; #define LOG_IN_FILE NEL_LOG_IN_FILE // If true, debug system will trap crash even if the application is in debugger -//static const bool TrapCrashInDebugger = false; -static const bool TrapCrashInDebugger = true; +static const bool TrapCrashInDebugger = false; #ifdef DEBUG_NEW #define new DEBUG_NEW