[codec,dsp] replace __FUNCTION__ with __func__

This commit is contained in:
akallabeth 2024-07-22 15:01:28 +02:00
parent cb89feba71
commit d081b515ea
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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;
}