From 551d8a6c8531ff6fbdf0e3e5fe32e943b6eec1d9 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Wed, 18 Feb 2009 04:01:36 -0700 Subject: Fixed some bad comment formatting --- ChangeLog.txt | 6 ++++++ linden/indra/llaudio/audioengine.cpp | 16 +++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 0afef3a..f6cbfab 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,9 @@ +2009-02-16 McCabe Maxsted + + * linden/indra/llaudio/audioengine.cpp: + Fixed some bad comment formatting. + + 2009-02-14 McCabe Maxsted * linden/indra/newview/app_settings/settings.xml: diff --git a/linden/indra/llaudio/audioengine.cpp b/linden/indra/llaudio/audioengine.cpp index da9bcba..3a079f1 100644 --- a/linden/indra/llaudio/audioengine.cpp +++ b/linden/indra/llaudio/audioengine.cpp @@ -186,14 +186,17 @@ void LLAudioEngine::startInternetStream(const std::string& url) if(!mInternetStreamMedia) return; - if (!url.empty()) { + if (!url.empty()) + { LL_INFOS("AudioEngine") << "Starting internet stream: " << url << llendl; mInternetStreamURL = url; mInternetStreamMedia->navigateTo ( url ); LL_INFOS("AudioEngine") << "Playing....." << llendl; mInternetStreamMedia->addCommand(LLMediaBase::COMMAND_START); mInternetStreamMedia->updateMedia(); - } else { + } + else + { LL_INFOS("AudioEngine") << "setting stream to NULL"<< llendl; mInternetStreamURL.clear(); mInternetStreamMedia->addCommand(LLMediaBase::COMMAND_STOP); @@ -207,9 +210,10 @@ void LLAudioEngine::stopInternetStream() { LL_INFOS("AudioEngine") << "entered stopInternetStream()" << llendl; - if(mInternetStreamMedia) + if(mInternetStreamMedia) { - if( ! mInternetStreamMedia->addCommand(LLMediaBase::COMMAND_STOP)){ + if(!mInternetStreamMedia->addCommand(LLMediaBase::COMMAND_STOP)) + { LL_INFOS("AudioEngine") << "attempting to stop stream failed!" << llendl; } mInternetStreamMedia->updateMedia(); @@ -232,7 +236,9 @@ void LLAudioEngine::pauseInternetStream(int pause) { LL_INFOS("AudioEngine") << "attempting to pause stream failed!" << llendl; } - } else { + } + else + { if(! mInternetStreamMedia->addCommand(LLMediaBase::COMMAND_START)) { LL_INFOS("AudioEngine") << "attempting to unpause stream failed!" << llendl; -- cgit v1.1