Fixed source format for freerdp_dsp_encode in rdpsnd_server_send_wave_pdu
This commit is contained in:
parent
e5197f529d
commit
5490ceb4ed
@ -512,7 +512,7 @@ static UINT rdpsnd_server_send_wave2_pdu(RdpsndServerContext* context,
|
||||
src = context->priv->out_buffer;
|
||||
length = context->priv->out_pending_frames * context->priv->src_bytes_per_frame;
|
||||
|
||||
if (!freerdp_dsp_encode(context->priv->dsp_context, format, src, length, s))
|
||||
if (!freerdp_dsp_encode(context->priv->dsp_context, context->src_format, src, length, s))
|
||||
error = ERROR_INTERNAL_ERROR;
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user