rdpsnd: show message when plugin was successfully loaded

Helps to inform the user which plugin is actually be used. Fixes #523
This commit is contained in:
Bernhard Miklautz 2012-07-31 12:57:58 +02:00
parent 9b6231c088
commit 6359c93609

View File

@ -505,8 +505,11 @@ static void rdpsnd_process_connect(rdpSvcPlugin* plugin)
{
default_data[0].data[0] = "alsa";
default_data[0].data[1] = "default";
rdpsnd_load_device_plugin(rdpsnd, "alsa", default_data);
if(rdpsnd_load_device_plugin(rdpsnd, "alsa", default_data))
printf("rdpsnd: successfully loaded alsa plugin\n");
}
else
printf("rdpsnd: successfully loaded pulseaudio plugin\n");
}
if (rdpsnd->device == NULL)
{