mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +00:00
[MMIXER] HACK: Decrease SteppingDelta for each volume value by 1
This workarounds broken changing volume level for left and right volume controls separately ("Speakers Volume" button in "Sound" tab of mmsys.cpl). CORE-19190
This commit is contained in:
parent
376708b586
commit
206b52833f
1 changed files with 4 additions and 3 deletions
|
@ -221,7 +221,8 @@ MMixerAddMixerControl(
|
|||
for (Index = 0; Index < Steps; Index++)
|
||||
{
|
||||
VolumeData->Values[Index] = Value;
|
||||
Value += Range->SteppingDelta;
|
||||
// HACK: use '- 1' to make the left and right volume controls behave independently.
|
||||
Value += Range->SteppingDelta - 1;
|
||||
}
|
||||
MixerControl->ExtraData = VolumeData;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue