aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lloverlaybar.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:58 -0500
committerJacek Antonelli2008-08-15 23:44:58 -0500
commit089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch)
tree0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/newview/lloverlaybar.cpp
parentSecond Life viewer sources 1.16.0.5 (diff)
downloadmeta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz
Second Life viewer sources 1.17.0.12
Diffstat (limited to 'linden/indra/newview/lloverlaybar.cpp')
-rw-r--r--linden/indra/newview/lloverlaybar.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/linden/indra/newview/lloverlaybar.cpp b/linden/indra/newview/lloverlaybar.cpp
index f34dc87..401cb02 100644
--- a/linden/indra/newview/lloverlaybar.cpp
+++ b/linden/indra/newview/lloverlaybar.cpp
@@ -328,27 +328,6 @@ void LLOverlayBar::refresh()
328 { 328 {
329 mMusicRemote->setVisible(TRUE); 329 mMusicRemote->setVisible(TRUE);
330 mMusicRemote->setEnabled(TRUE); 330 mMusicRemote->setEnabled(TRUE);
331
332 S32 musicPlaying = gAudiop->isInternetStreamPlaying();
333
334 if ( musicPlaying == 0 ) // stopped
335 {
336 mMusicRemote->setTransportState ( LLMediaRemoteCtrl::Stop, FALSE );
337 }
338 else
339 if ( musicPlaying == 1 ) // playing
340 {
341 mMusicRemote->setTransportState ( LLMediaRemoteCtrl::Play, FALSE );
342 if (gAudiop)
343 {
344 gAudiop->setInternetStreamGain ( gSavedSettings.getF32 ( "AudioLevelMusic" ) );
345 }
346 }
347 else
348 if ( musicPlaying == 2 ) // paused
349 {
350 mMusicRemote->setTransportState ( LLMediaRemoteCtrl::Stop, FALSE );
351 }
352 } 331 }
353 } 332 }
354 333