The decoder format was never set and so dsp_decode always failed
on the server side.
}
context->selected_client_format = client_format_index;
+ if (!freerdp_dsp_context_reset(audin->dsp_context,
+ &audin->context.client_formats[client_format_index]))
+ {
+ WLog_ERR(TAG, "Failed to reset dsp context format!");
+ return ERROR_INTERNAL_ERROR;
+ }
if (audin->opened)
{
if (success)
WLog_ERR(TAG, "context.ReceiveSamples failed with error %"PRIu32"", success);
}
+ else
+ WLog_ERR(TAG, "freerdp_dsp_decode failed!");
Stream_Free(out, TRUE);
return success;