Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 8770 → Rev 8771

/source/audiolib/include/fx_man.h
80,6 → 80,8
int FX_SetPrintf(void(*function)(const char *, ...));
 
extern int FX_ErrorCode;
extern int FX_MixRate;
 
#define FX_SetErrorCode(status) FX_ErrorCode = (status);
 
static FORCE_INLINE int FX_CheckMVErr(int status)
/source/audiolib/src/fx_man.cpp
43,6 → 43,7
 
int FX_ErrorCode = FX_Ok;
int FX_Installed;
int FX_MixRate;
 
const char *FX_ErrorString(int const ErrorNumber)
{
166,9 → 167,11
status = FX_Error;
}
 
FX_MixRate = MV_MixRate;
 
if (status == FX_Ok)
{
MV_Printf(": %.1f KHz %s with %d voices\n", mixrate/1000.f, numchannels == 1 ? "mono" : "stereo", numvoices);
MV_Printf(": %.1f KHz %s with %d voices\n", MV_MixRate/1000.f, numchannels == 1 ? "mono" : "stereo", numvoices);
FX_Installed = TRUE;
}