From a4d2cb3d1246d19049ebb67c54ec721e9538e83e Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Thu, 19 Jul 2012 05:35:17 +0200 Subject: [PATCH] Some fighting with Shyotl over FMOD Ex --- indra/llaudio/llaudioengine_fmodex.cpp | 7 ++++++- indra/llaudio/llstreamingaudio_fmodex.cpp | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/indra/llaudio/llaudioengine_fmodex.cpp b/indra/llaudio/llaudioengine_fmodex.cpp index 392122c58..d57ef7f3a 100644 --- a/indra/llaudio/llaudioengine_fmodex.cpp +++ b/indra/llaudio/llaudioengine_fmodex.cpp @@ -279,10 +279,15 @@ bool LLAudioEngine_FMODEX::init(const S32 num_channels, void* userdata) int r_numbuffers, r_samplerate, r_channels, r_bits; unsigned int r_bufferlength; + char r_name[256]; mSystem->getDSPBufferSize(&r_bufferlength, &r_numbuffers); mSystem->getSoftwareFormat(&r_samplerate, NULL, &r_channels, NULL, NULL, &r_bits); + mSystem->getDriverInfo(0, r_name, 255, 0); + r_name[255] = '\0'; int latency = 1000.0 * r_bufferlength * r_numbuffers /r_samplerate; - LL_INFOS("AppInit") << "FMOD Ex parameters: " << r_samplerate << " Hz * " << r_channels << " * " <