libfreerdp-client: load rdpdr when rdpsnd is loaded

This commit is contained in:
Marc-André Moreau 2013-05-10 16:39:16 -04:00
parent c431208829
commit ba0b4ee524
3 changed files with 4 additions and 2 deletions

View File

@ -833,7 +833,7 @@ FREERDP_API int freerdp_channels_send_event(rdpChannels* channels, wMessage* eve
if (!name)
{
DEBUG_CHANNELS("unknown event_class %d", event->event_class);
DEBUG_CHANNELS("unknown event_class %d", GetMessageClass(event->id));
freerdp_event_free(event);
return 1;
}

View File

@ -1661,6 +1661,7 @@ int freerdp_client_load_addins(rdpChannels* channels, rdpSettings* settings)
if ((freerdp_static_channel_collection_find(settings, "rdpsnd")) ||
(freerdp_dynamic_channel_collection_find(settings, "tsmf")))
{
settings->DeviceRedirection = TRUE; /* rdpsnd requires rdpdr to be registered */
settings->AudioPlayback = TRUE; /* Both rdpsnd and tsmf require this flag to be set */
}

View File

@ -326,7 +326,8 @@ int svc_plugin_send_event(rdpSvcPlugin* plugin, wMessage* event)
{
UINT32 status = 0;
DEBUG_SVC("event_type %d", event->event_type);
DEBUG_SVC("event class: %d type: %d",
GetMessageClass(event->id), GetMessageType(event->id));
status = plugin->channel_entry_points.pVirtualChannelEventPush(plugin->open_handle, event);