From 72691c373f22867c762c32aeb0d888f28c81cce9 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 6 Feb 2018 21:42:58 +0000 Subject: [PATCH] Fix longstanding P25 parrot bug. --- P25Parrot/P25Parrot.cpp | 4 ++-- P25Parrot/Version.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/P25Parrot/P25Parrot.cpp b/P25Parrot/P25Parrot.cpp index 6456d37..4827f9a 100644 --- a/P25Parrot/P25Parrot.cpp +++ b/P25Parrot/P25Parrot.cpp @@ -99,8 +99,8 @@ void CP25Parrot::run() count = 0U; } - // A frame every 20ms - unsigned int wanted = playoutTimer.elapsed() / 20U; + // A frame every 180ms + unsigned int wanted = playoutTimer.elapsed() / 180U; while (count < wanted) { len = parrot.read(buffer); if (len > 0U) { diff --git a/P25Parrot/Version.h b/P25Parrot/Version.h index 865c176..38fc4df 100644 --- a/P25Parrot/Version.h +++ b/P25Parrot/Version.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015,2016 by Jonathan Naylor G4KLX + * Copyright (C) 2015,2016,2018 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20161021"; +const char* VERSION = "20180206"; #endif