From 6359c936098bf533a2ac8ad3b9422567e54d32d8 Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Tue, 31 Jul 2012 12:57:58 +0200 Subject: [PATCH] rdpsnd: show message when plugin was successfully loaded Helps to inform the user which plugin is actually be used. Fixes #523 --- channels/rdpsnd/rdpsnd_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/channels/rdpsnd/rdpsnd_main.c b/channels/rdpsnd/rdpsnd_main.c index c6b4a75cb..d610bcd83 100644 --- a/channels/rdpsnd/rdpsnd_main.c +++ b/channels/rdpsnd/rdpsnd_main.c @@ -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) {