From 089fc07d207c71ce1401e72f09c31ad8c45872e2 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:44:58 -0500 Subject: Second Life viewer sources 1.17.0.12 --- linden/indra/newview/lloverlaybar.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'linden/indra/newview/lloverlaybar.cpp') 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() { mMusicRemote->setVisible(TRUE); mMusicRemote->setEnabled(TRUE); - - S32 musicPlaying = gAudiop->isInternetStreamPlaying(); - - if ( musicPlaying == 0 ) // stopped - { - mMusicRemote->setTransportState ( LLMediaRemoteCtrl::Stop, FALSE ); - } - else - if ( musicPlaying == 1 ) // playing - { - mMusicRemote->setTransportState ( LLMediaRemoteCtrl::Play, FALSE ); - if (gAudiop) - { - gAudiop->setInternetStreamGain ( gSavedSettings.getF32 ( "AudioLevelMusic" ) ); - } - } - else - if ( musicPlaying == 2 ) // paused - { - mMusicRemote->setTransportState ( LLMediaRemoteCtrl::Stop, FALSE ); - } } } -- cgit v1.1