Forum

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
found
mxControlDetails.cbDetails = sizeof(mxValue);
and cange to
mxControlDetails.cbDetails = sizeof(MIXERCONTROLDETAILS_UNSIGNED);
User avatar
Barnes
 
Posts: 223
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 1 guest