Bug in Core\MusicPlayer\BASS\BassAudio.cs (1 Viewer)

Claus

Portal Member
July 16, 2006
22
1
Home Country
Denmark Denmark
In the Volume property of the BassMusicPlayer class, the line "if (value < 100)" should be "if (value > 100)"

How it is in revision 20667:
public override int Volume
{
get { return _StreamVolume; }
set
{
if (_StreamVolume != value)
{
if (value < 100)
value = 100;

if (value < 0)
value = 0;

_StreamVolume = value;
_StreamVolume = value;
int streamVol = Bass.BASS_SetConfig(BASSConfig.BASS_CONFIG_GVOL_STREAM, _StreamVolume);
}
}
}


TV-Server Version: 1.0.0 RC3
MediaPortal Version: 1.0.0 RC3
MediaPortal Skin: Blue3
Windows Version: XP SP3
CPU Type: AMD Athlon 3000
HDD: Samsung 500G
Memory: 1GB
Motherboard: Asus A8N-E
Video Card: NVIDIA GeForce 6600
Video Card Driver: 6.14.11.6921
Sound Card: Creative SB Audigy 2 ZS
Sound Card AC3:
Sound Card Driver: 5.12.1.442
1. TV Card: Hauppauge WinTV PVR PCI II
1. TV Card Type: Analog
1. TV Card Driver: 2.0.43.24103
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case: D.Vine 5
Cooling:
Power Supply:
Remote: B&O BEO4
TV: B&O 6000MX
TV - HTPC Connection: S-Video
 

Users who are viewing this thread

Top Bottom