aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lloverlaybar.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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