From 04155bbca20015b32c2eea7e486f5056fc2caf97 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 15 Nov 2015 18:31:56 +0100 Subject: [PATCH] Changed: Display basic information for OpenAL driver --- 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?