Q2 cd audio bug fix

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Q2 cd audio bug fix

Postby Barnes » Fri Aug 19, 2016 7:40 pm

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
mxControlDetails.cbDetails = sizeof(mxValue);
and cange to
mxControlDetails.cbDetails = sizeof(MIXERCONTROLDETAILS_UNSIGNED);
User avatar
Posts: 230
Joined: Thu Dec 24, 2009 2:26 pm
Location: Russia, Moscow

Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 0 guests