Exemplo n.º 1
0
const char* SRS_GetParam_WOWHD(SRS_Tech_WOWHD* pCFG, SRS_Param* pParam){
    HELP_ParamOut Out;

    switch (pParam->EnumID){
        case WHD_IGain: return Out.FromFloat(pCFG->IGain);
        case WHD_OGain: return Out.FromFloat(pCFG->OGain);

        case WHD_DoTB: return Out.FromBool(pCFG->DoTB);
        case WHD_TBMin: return Out.FromFloat(pCFG->TBMin);
        case WHD_TBWindow: return Out.FromFloat(pCFG->TBWindow);
        case WHD_TBSlide: return Out.FromFloat(pCFG->TBSlide);
        case WHD_TBSlideUD: return Out.FromFloat(pCFG->TBSlideUDef);
        case WHD_TBCompress: return Out.FromFloat(pCFG->TBCompress);
        case WHD_TBFreq: return Out.FromInt(pCFG->TBSize);
        case WHD_TBAnalyze: return Out.FromInt(pCFG->TBAnalyze);
        case WHD_TBDoSplit: return Out.FromBool(pCFG->DoTBSplit);
        case WHD_TBMode: return Out.FromInt(pCFG->TBMode);

        case WHD_DoXOver: return Out.FromBool(pCFG->DoXOver);
        case WHD_XOverOrder: return Out.FromInt(pCFG->XOverOrder);
        case WHD_XOverFreq: return Out.FromInt(pCFG->XOverFreq);

        case WHD_DoHPF: return Out.FromBool(pCFG->DoHPF);
        case WHD_HPFOrder: return Out.FromInt(pCFG->HPFOrder);
        case WHD_HPFFreq: return Out.FromInt(pCFG->HPFFreq);

        case WHD_DoSRS: return Out.FromBool(pCFG->DoSRS);
        case WHD_Space: return Out.FromFloat(pCFG->Space);
        case WHD_Center: return Out.FromFloat(pCFG->Center);
        case WHD_SRSMode: return Out.FromInt(pCFG->SRSMode);
        case WHD_SRSType: return Out.FromInt(pCFG->SRSType);

        case WHD_DoFocus: return Out.FromBool(pCFG->DoFocus);
        case WHD_Focus: return Out.FromFloat(pCFG->Focus);

        case WHD_DoDef: return Out.FromBool(pCFG->DoDef);
        case WHD_DefMin: return Out.FromFloat(pCFG->DefMin);
        case WHD_DefWindow: return Out.FromFloat(pCFG->DefWindow);
        case WHD_DefSlide: return Out.FromFloat(pCFG->DefSlide);
        case WHD_DefSlideUD: return Out.FromFloat(pCFG->DefSlideUDef);

#ifdef _SRSCFG_TRUMEDIA_HD
        case WHD_DoWS: return Out.FromBool(pCFG->DoWS);
        case WHD_WSIGain: return Out.FromFloat(pCFG->WSIGain);
        case WHD_WSCGain: return Out.FromFloat(pCFG->WSCGain);
        case WHD_WSSpkSep: return Out.FromFloat(pCFG->WSSpkSep);
#endif  // _SRSCFG_TRUMEDIA_HD

        case WHD_Skip: return Out.FromBool(pCFG->Skip);
    }
    return "";
}
Exemplo n.º 2
0
const char* SRS_GetParam_WOWHD(SRS_Tech_WOWHD* pCFG, SRS_Param* pParam){
	HELP_ParamOut Out;
	
	switch (pParam->EnumID){
		case WHD_IGain: return Out.FromFloat(pCFG->IGain);
		case WHD_OGain: return Out.FromFloat(pCFG->OGain);
		case WHD_BGain: return Out.FromFloat(pCFG->BGain);
		case WHD_DoTB: return Out.FromBool(pCFG->DoTB);
		case WHD_TBMin: return Out.FromFloat(pCFG->TBMin);
		case WHD_TBWindow: return Out.FromFloat(pCFG->TBWindow);
		case WHD_TBSlide: return Out.FromFloat(pCFG->TBSlide);
		case WHD_TBSlideUD: return Out.FromFloat(pCFG->TBSlideUDef);
		case WHD_TBCompress: return Out.FromFloat(pCFG->TBCompress);
		case WHD_TBFreq: return Out.FromInt(pCFG->TBFreq);
		case WHD_TBAnalyze: return Out.FromInt(pCFG->TBAnalyze);
		case WHD_TBDoSplit: return Out.FromBool(pCFG->DoTBSplit);
		case WHD_TBMode: return Out.FromInt(pCFG->TBMode);
		case WHD_DoSRS3D: return Out.FromBool(pCFG->DoSRS3D);
		case WHD_SRSType: return Out.FromInt(pCFG->SRSType);
		case WHD_SRSMode: return Out.FromInt(pCFG->SRSMode);
		case WHD_Center: return Out.FromFloat(pCFG->Center);
		case WHD_Space: return Out.FromFloat(pCFG->Space);
		case WHD_DoFocus: return Out.FromBool(pCFG->DoFocus);
		case WHD_Focus: return Out.FromFloat(pCFG->Focus);
		case WHD_DoDef: return Out.FromBool(pCFG->DoDef);
		case WHD_DefMin: return Out.FromFloat(pCFG->DefMin);
		case WHD_DefWindow: return Out.FromFloat(pCFG->DefWindow);
		case WHD_DefSlide: return Out.FromFloat(pCFG->DefSlide);
		case WHD_DefSlideUD: return Out.FromFloat(pCFG->DefSlideUDef);
		case WHD_DoLimit: return Out.FromBool(pCFG->DoLimit);
		case WHD_LimitGain: return Out.FromFloat(pCFG->LimitGain);
		case WHD_Skip: return Out.FromBool(pCFG->Skip);
	}
	return "";
}