Merge pull request #678 from bmiklautz/issue_523

rdpsnd: show message when plugin was successfully loaded
This commit is contained in:
Marc-André Moreau 2012-08-01 09:46:39 -07:00
commit 163e9da7c5

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)
{