From 301eebafa92d2840ecb5983254dcb6cccba5df12 Mon Sep 17 00:00:00 2001 From: Artem Prilutskiy Date: Fri, 26 May 2017 14:20:43 +0300 Subject: [PATCH] .. --- DigestPlay.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DigestPlay.c b/DigestPlay.c index fca573e..51f858b 100644 --- a/DigestPlay.c +++ b/DigestPlay.c @@ -23,9 +23,7 @@ #define COUNT(array) sizeof(array) / sizeof(array[0]) -#define BUFFER_SIZE 128 -#define ATTEMPT_COUNT 5 - +#define BUFFER_SIZE 64 #define CLIENT_NAME "DigestPlay " STRING(VERSION) " " BUILD int main(int argc, char* argv[]) @@ -234,12 +232,14 @@ int main(int argc, char* argv[]) count ++; } - // Clean up + // Transmit call terminator + TransmitRewindData(context, REWIND_TYPE_DMR_DATA_BASE + 2, REWIND_FLAG_REAL_TIME_1, NULL, 0); - printf("Done\n"); + // Clean up TransmitRewindCloae(context); ReleaseRewindContext(context); + printf("Done\n"); return EXIT_SUCCESS; };