[codec,dsp] replace __FUNCTION__ with __func__
This commit is contained in:
parent
cb89feba71
commit
d081b515ea
@ -37,7 +37,7 @@ static void write_log(unsigned log_level, const char* fmt, ...)
|
||||
vsnprintf(buffer, sizeof(buffer), fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
WLog_PrintMessage(log, WLOG_MESSAGE_TEXT, log_level, __LINE__, __FILE__, __FUNCTION__, "%s",
|
||||
WLog_PrintMessage(log, WLOG_MESSAGE_TEXT, log_level, __LINE__, __FILE__, __func__, "%s",
|
||||
buffer);
|
||||
}
|
||||
}
|
||||
|
@ -725,7 +725,7 @@ static BOOL freerdp_dsp_channel_mix(FREERDP_DSP_CONTEXT* WINPR_RESTRICT context,
|
||||
|
||||
case 2: /* We only support stereo, so we can not handle this case. */
|
||||
default: /* Unsupported number of channels */
|
||||
WLog_WARN(TAG, "[%s] unsuported source channel count %" PRIu16, __FUNCTION__,
|
||||
WLog_WARN(TAG, "[%s] unsuported source channel count %" PRIu16, __func__,
|
||||
srcFormat->nChannels);
|
||||
return FALSE;
|
||||
}
|
||||
@ -754,7 +754,7 @@ static BOOL freerdp_dsp_channel_mix(FREERDP_DSP_CONTEXT* WINPR_RESTRICT context,
|
||||
|
||||
case 1: /* Invalid, do we want to use a 0 channel sound? */
|
||||
default: /* Unsupported number of channels */
|
||||
WLog_WARN(TAG, "[%s] unsuported channel count %" PRIu16, __FUNCTION__,
|
||||
WLog_WARN(TAG, "[%s] unsuported channel count %" PRIu16, __func__,
|
||||
srcFormat->nChannels);
|
||||
return FALSE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user