Commit 7bc733fd authored by Artem Prilutskiy's avatar Artem Prilutskiy

..

parent b2b5783f
......@@ -12,22 +12,21 @@
#include "Version.h"
#include "RewindClient.h"
// #include "DMR.h"
#ifndef DMR_H
#define TDMA_FRAME_DURATION 60
#endif
#define DSD_MAGIC_TEXT ".amb"
#define DSD_MAGIC_SIZE 4
#define DSD_AMBE_CHUNK_SIZE 8
#define HELPER(value) #value
#define STRING(value) HELPER(value)
#define HELPER(value) #value
#define STRING(value) HELPER(value)
#define COUNT(array) sizeof(array) / sizeof(array[0])
#define COUNT(array) sizeof(array) / sizeof(array[0])
#define BUFFER_SIZE 1024
#define ATTEMPT_COUNT 5
#define BUFFER_SIZE 1024
#define ATTEMPT_COUNT 5
#define CLIENT_NAME "DigestPlay " STRING(VERSION) " " BUILD
typedef uint8_t Integer24[3];
......@@ -142,9 +141,7 @@ int main(int argc, char* argv[])
// Create Rewind client context
struct RewindContext* context = CreateRewindClient(
number,
"DigestPlay " STRING(VERSION) " " BUILD);
struct RewindContext* context = CreateRewindClient(number, CLIENT_NAME);
if (context == NULL)
{
......@@ -167,7 +164,7 @@ int main(int argc, char* argv[])
// Connect to the server
int result = ConnectRewindClient(context, location, port, password, REWIND_OPTION_SUPER_HEADER);
int result = ConnectRewindClient(context, location, port, password, REWIND_OPTION_LINEAR_FRAME);
if (result < 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment