home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 September (Special)
/
Chip-Special_2002-09_Digitalni-Video.bin
/
servis
/
wm9
/
mpsetupXP.exe
/
RCDATA
/
CABINET
/
wmploc.DLL
/
256
/
SRSWOW.JS
< prev
next >
Wrap
Text File
|
2002-08-19
|
786b
|
54 lines
// Windows Media Player - Copyright 2000 Microsoft Corporation.
//<script>
//
// Initialization
//
function InitSRS()
{
if (PlayingDVD())
{
nextSpeakerSize.enabled=false;
srsOnOff.enabled=false;
SetDisabledUI(true);
}
else
{
srsOnOff.enabled=true;
UpdateSRSOnOff();
}
}
//
// Updating
//
function UpdateSRSOnOff()
{
if (eq.enhancedAudio == true)
{
nextSpeakerSize.enabled=true;
srsOnOff.value="res://wmploc.dll/RT_STRING/#1833";
SetDisabledUI(false);
}
else
{
nextSpeakerSize.enabled=false;
srsOnOff.value="res://wmploc.dll/RT_STRING/#1832";
SetDisabledUI(true);
}
}
function NextSpeakerSize()
{
var index = eq.speakerSize;
index++;
if (index > 2)
index = 0;
eq.speakerSize = index;
}