Q2 cd audio bug fix

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
Barnes
Posts: 232
Joined: Thu Dec 24, 2009 2:26 pm
Location: Russia, Moscow
Contact:

Q2 cd audio bug fix

Post by Barnes »

Some q2 engines (q2e, bers@q2) under win8.1 or high have bug in cd audio code - no realtime value change, code return error
To fix
in CDAudio_GetMixerVolume
found
mxControlDetails.cbDetails = sizeof(mxValue);
and cange to
mxControlDetails.cbDetails = sizeof(MIXERCONTROLDETAILS_UNSIGNED);
Post Reply