diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2015-07-19 21:28:58 +0300 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2015-07-19 21:28:58 +0300 |
commit | cb41e5005f97348b084838975cb529684e264371 (patch) | |
tree | fe6219c74be46adb4312c3d69853d344122acf48 | |
parent | 06e94bc9aeaf183fb4bef1929255e6ee133bc826 (diff) |
rdpsnd fix for pulse assert
-rw-r--r-- | channels/rdpsnd/rdpsnd_main.c | 5 |
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) |