Automatically load advanced input channel
This commit is contained in:
parent
cdbfff87ea
commit
b85333bb9e
@ -46,6 +46,10 @@
|
||||
#include <freerdp/channels/urbdrc.h>
|
||||
#include <freerdp/channels/rdpdr.h>
|
||||
|
||||
#if defined(CHANNEL_AINPUT_CLIENT)
|
||||
#include <freerdp/channels/ainput.h>
|
||||
#endif
|
||||
|
||||
#include <freerdp/client/cmdline.h>
|
||||
#include <freerdp/version.h>
|
||||
|
||||
@ -3541,6 +3545,16 @@ BOOL freerdp_client_load_addins(rdpChannels* channels, rdpSettings* settings)
|
||||
{
|
||||
UINT32 index;
|
||||
|
||||
/* Always load FreeRDP advanced input dynamic channel */
|
||||
#if defined(CHANNEL_AINPUT_CLIENT)
|
||||
{
|
||||
const char* p[] = { AINPUT_CHANNEL_NAME };
|
||||
|
||||
if (!freerdp_client_add_dynamic_channel(settings, ARRAYSIZE(p), p))
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (settings->AudioPlayback)
|
||||
{
|
||||
const char* p[] = { RDPSND_CHANNEL_NAME };
|
||||
|
Loading…
Reference in New Issue
Block a user