MAINT-2281: correct test for XP (corrected fix I applied incorrectly)
parent
07deaaef88
commit
2fa8205d4d
|
|
@ -71,7 +71,7 @@ VolumeCatcherImpl::VolumeCatcherImpl()
|
|||
{
|
||||
mSystemIsVistaOrHigher = isWindowsVistaOrHigher();
|
||||
|
||||
if ( mSystemIsVistaOrHigher )
|
||||
if ( ! mSystemIsVistaOrHigher )
|
||||
{
|
||||
HMODULE handle = ::LoadLibrary(L"winmm.dll");
|
||||
if(handle)
|
||||
|
|
@ -90,7 +90,7 @@ void VolumeCatcherImpl::setVolume(F32 volume)
|
|||
{
|
||||
mVolume = volume;
|
||||
|
||||
if ( ! mSystemIsVistaOrHigher )
|
||||
if ( mSystemIsVistaOrHigher )
|
||||
{
|
||||
// set both left/right to same volume
|
||||
// TODO: use pan value to set independently
|
||||
|
|
|
|||
Loading…
Reference in New Issue