/* param handle codec handle. param channel audio codec play channel, can be a value or combine value of _codec_play_channel. param mute true is mute, false is unmute. return kStatus_Success is success, else configure failed.  */
status_t CODEC_SetMute(codec_handle_t *handle, uint32_t channel, bool mute)
/* param handle codec handle. param channel audio codec play channel, can be a value or combine value of _codec_play_channel. param mute true is mute, false is unmute. return kStatus_Success is success, else configure failed.  */
status_t CODEC_SetMute(codec_handle_t *handle, uint32_t channel, bool mute)
{
    assert((handle != NULL) && (handle->codecConfig != NULL));
    assert(handle->codecCapability != NULL);
    if ((GET_PLAY_CHANNEL_CAPABILITY(handle->codecCapability->codecPlayCapability) & channel) == 0U)
    {
        return kStatus_CODEC_NotSupport;
    }
    return HAL_CODEC_SetMute(handle, channel, mute);
}