locked
IXAudio2 SetDebugConfiguration - can't log api calls, details, infos.

    Question

  • hi guys,

    It seems the current implementation of IXAudio2 SetDebugConfiguration only handles XAUDIO2_LOG_ERRORS
    All the other useful flags seem to be ignored.
    Every other flag seems to be ignored. I'm especially in need of the XAUDIO2_LOG_API_CALLS flags.

       :
       :
       :
    
    	hRes = XAudio2Create (&g_pXAudio2,0);
    	v4sapi_error_on_res ("XAudio2Create", hRes);

    // all flags but XAUDIO2_LOG_ERROR seem to be ignored. #if defined(_DEBUG) XAUDIO2_DEBUG_CONFIGURATION debugConfiguration = {0}; // debugConfiguration.BreakMask = XAUDIO2_LOG_ERRORS; // debugConfiguration.TraceMask = XAUDIO2_LOG_ERRORS; debugConfiguration.TraceMask = XAUDIO2_LOG_ERRORS | XAUDIO2_LOG_DETAIL | XAUDIO2_LOG_API_CALLS | XAUDIO2_LOG_FUNC_CALLS; debugConfiguration.BreakMask = 0; g_pXAudio2->SetDebugConfiguration(&debugConfiguration); #endif : : :

    Anybody experiencing the same here? Or any useful tips ?

    Cheers,
    Roman


    Roman Pfneudl CEO - vertex4 entertainment ltd.

    Friday, June 1, 2012 8:59 AM

Answers

All replies