Thats the part of the code for the CMI launcher bit.
When Q+E starts it searches for the registry key that controls directsound acceleration and reads it, in order to determine the directsound acceleration level.
This is the fix:
From the readme-
Could not detect DirectSound acceleration' - This error message occurs when directsound acceleration has never been changed on the pc so the corresponding registry keys have never been created. To fix this go to Start>run> type in dxdiag.exe and click ok. After a short delay dxdiag will load. Click on the Sound tab and drag the 'Hardware sound acceleration level' slider down to basic and exit. This will create the necessary registry keys and fix the problem. You can change the acceleration level back to full in Quick and Easy in the CMI Launcher section.