Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/NeutrinoRDP.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2015-07-19 21:28:58 +0300
committerJay Sorg <jay.sorg@gmail.com>2015-07-19 21:28:58 +0300
commitcb41e5005f97348b084838975cb529684e264371 (patch)
treefe6219c74be46adb4312c3d69853d344122acf48
parent06e94bc9aeaf183fb4bef1929255e6ee133bc826 (diff)
rdpsnd fix for pulse assert
-rw-r--r--channels/rdpsnd/rdpsnd_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/channels/rdpsnd/rdpsnd_main.c b/channels/rdpsnd/rdpsnd_main.c
index 03125d7..81af317 100644
--- a/channels/rdpsnd/rdpsnd_main.c
+++ b/channels/rdpsnd/rdpsnd_main.c
@@ -433,9 +433,8 @@ static void rdpsnd_process_message_close(rdpsndPlugin* rdpsnd)
{
DEBUG_SVC("server closes.");
if (rdpsnd->device)
- IFCALL(rdpsnd->device->Start, rdpsnd->device);
- rdpsnd->close_timestamp = get_mstime() + 2000;
- rdpsnd->plugin.interval_ms = 10;
+ IFCALL(rdpsnd->device->Close, rdpsnd->device);
+ rdpsnd->is_open = false;
}
static void rdpsnd_process_message_setvolume(rdpsndPlugin* rdpsnd, STREAM* data_in)