diff options
author | Rick Pasetto <rick@lindenlab.com> | 2010-02-22 19:25:51 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2010-02-22 19:25:51 -0800 |
commit | 37291bea8d9b5a626b449d984856e280e159ac5c (patch) | |
tree | b420633c4ff46fb178be611e8134d59cce06e9bd /indra | |
parent | 50a99d5419cd0ea9fe3375726bdc6a34e8102824 (diff) |
Follow-up from previous change based on code review #137
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewermedia.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 0f785079a6..0948afee8b 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -944,7 +944,10 @@ void LLViewerMedia::setAllMediaEnabled(bool val) LLViewerParcelMedia::play(LLViewerParcelMgr::getInstance()->getAgentParcel()); } - if (!LLViewerMedia::isParcelAudioPlaying() && gAudiop && LLViewerMedia::hasParcelAudio()) + if (gSavedSettings.getBOOL("AudioStreamingMusic") && + !LLViewerMedia::isParcelAudioPlaying() && + gAudiop && + LLViewerMedia::hasParcelAudio()) { gAudiop->startInternetStream(LLViewerMedia::getParcelAudioURL()); } |