home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 79
/
MINAMI79.iso
/
Extra
/
MPSetup.exe
/
1033
/
RCDATA
/
CABINET
/
wmploc.DLL
/
256
/
ADVANCEDAUDIO.JS
< prev
next >
Wrap
Text File
|
2002-12-14
|
823b
|
35 lines
// Windows Media Player - Copyright 2000 Microsoft Corporation.
//<script>
var g_kLastUserSetting = 1;
var g_kDRC_LITTLE_DIFFERENCE=2;
var g_kDRC_MEDIUM_DIFFERENCE=1;
function ToggleOnOff()
{
var temp = mediacenter.dynamicRangeControl;
mediacenter.dynamicRangeControl = temp ? 0 : g_kLastUserSetting;
if (0!=temp)
{
g_kLastUserSetting=temp;
}
}
function UpdateDRCButtonState(DRC)
{
if (0==DRC)
{
drcOnOff.value="res://wmploc/RT_STRING/#1832";
SetDisabledUI(true);
}
else
{
drcOnOff.value="res://wmploc/RT_STRING/#1833";
SetDisabledUI(false);
}
DynamicRangeLittleDifference.down = (DRC==g_kDRC_LITTLE_DIFFERENCE);
DynamicRangeMediumDifference.down = (DRC==g_kDRC_MEDIUM_DIFFERENCE);
}