summaryrefslogtreecommitdiff
path: root/indra/llaudio/llstreamingaudio_fmodex.cpp
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-06-01 19:36:38 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-06-01 19:36:38 -0700
commitcf3d2a06a13528cca1327becfb9e8dcb5ff4614a (patch)
treea58c89cfe474308985b07b3e86f991b886a86114 /indra/llaudio/llstreamingaudio_fmodex.cpp
parente331566dba65b8aa33fceb6d1cec8bf0550bbd7d (diff)
BUG-2707 turn off more LL_DEBUGS to narrow down Kat's crashing cuplrit
Diffstat (limited to 'indra/llaudio/llstreamingaudio_fmodex.cpp')
-rw-r--r--indra/llaudio/llstreamingaudio_fmodex.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/llaudio/llstreamingaudio_fmodex.cpp b/indra/llaudio/llstreamingaudio_fmodex.cpp
index 794a9540f4..96b739fa13 100644
--- a/indra/llaudio/llstreamingaudio_fmodex.cpp
+++ b/indra/llaudio/llstreamingaudio_fmodex.cpp
@@ -100,13 +100,13 @@ void LLStreamingAudio_FMODEX::start(const std::string& url)
if (!url.empty())
{
- LL_DEBUGS("FMODEX") << "Starting internet stream: " << url << llendl;
+ //LL_DEBUGS("FMODEX") << "Starting internet stream: " << url << llendl;
mCurrentInternetStreamp = new LLAudioStreamManagerFMODEX(mSystem,url);
mURL = url;
}
else
{
- LL_DEBUGS("FMODEX") << "Set internet stream to null" << llendl;
+ //LL_DEBUGS("FMODEX") << "Set internet stream to null" << llendl;
mURL.clear();
}
}
@@ -121,7 +121,7 @@ void LLStreamingAudio_FMODEX::update()
LLAudioStreamManagerFMODEX *streamp = *iter;
if (streamp->stopStream())
{
- LL_DEBUGS("FMODEX") << "Closed dead stream" << llendl;
+ //LL_DEBUGS("FMODEX") << "Closed dead stream" << llendl;
delete streamp;
mDeadStreams.erase(iter++);
}
@@ -181,7 +181,7 @@ void LLStreamingAudio_FMODEX::update()
{
if (!strcmp(tag.name, "Sample Rate Change"))
{
- LL_DEBUGS("FMODEX") << "Stream forced changing sample rate to " << *((float *)tag.data) << llendl;
+ //LL_DEBUGS("FMODEX") << "Stream forced changing sample rate to " << *((float *)tag.data) << llendl;
mFMODInternetStreamChannelp->setFrequency(*((float *)tag.data));
}
continue;
@@ -195,9 +195,9 @@ void LLStreamingAudio_FMODEX::update()
mFMODInternetStreamChannelp->getPaused(&paused);
if(!paused)
{
- LL_DEBUGS("FMODEX") << "Stream starvation detected! Pausing stream until buffer nearly full." << llendl;
- LL_DEBUGS("FMODEX") << " (diskbusy="<<diskbusy<<")" << llendl;
- LL_DEBUGS("FMODEX") << " (progress="<<progress<<")" << llendl;
+ //LL_DEBUGS("FMODEX") << "Stream starvation detected! Pausing stream until buffer nearly full." << llendl;
+ //LL_DEBUGS("FMODEX") << " (diskbusy="<<diskbusy<<")" << llendl;
+ //LL_DEBUGS("FMODEX") << " (progress="<<progress<<")" << llendl;
mFMODInternetStreamChannelp->setPaused(true);
}
}
@@ -220,14 +220,14 @@ void LLStreamingAudio_FMODEX::stop()
if (mCurrentInternetStreamp)
{
- LL_DEBUGS("FMODEX") << "Stopping internet stream: " << mCurrentInternetStreamp->getURL() << llendl;
+ //LL_DEBUGS("FMODEX") << "Stopping internet stream: " << mCurrentInternetStreamp->getURL() << llendl;
if (mCurrentInternetStreamp->stopStream())
{
delete mCurrentInternetStreamp;
}
else
{
- LL_DEBUGS("FMODEX") << "Pushing stream to dead list: " << mCurrentInternetStreamp->getURL() << llendl;
+ //LL_DEBUGS("FMODEX") << "Pushing stream to dead list: " << mCurrentInternetStreamp->getURL() << llendl;
mDeadStreams.push_back(mCurrentInternetStreamp);
}
mCurrentInternetStreamp = NULL;