From 2c775ce4f145570600f24821e2010f3e95d18f8e Mon Sep 17 00:00:00 2001 From: Ulrich Eckhardt Date: Sun, 15 Jul 2018 16:55:50 +0200 Subject: Improved CRC check. - The CRC check uses now the lenght of the RDS Frame, this improves decoding specially on HarmonyFM. - Code splits and code cleanups. - Remove currently unused Traffic decoder. --- radioaudio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'radioaudio.h') diff --git a/radioaudio.h b/radioaudio.h index b3797ba..56cb573 100644 --- a/radioaudio.h +++ b/radioaudio.h @@ -73,6 +73,7 @@ private: void RadiotextCheckTS(const uchar *Data, int Length); void AudioRecorderService(void); void RassDecode(uchar *Data, int Length); + bool CrcOk(uchar *data); protected: virtual void Play(const uchar *Data, int Length, uchar Id); virtual void PlayTs(const uchar *Data, int Length); @@ -84,7 +85,7 @@ public: char *bitrate; void EnableRadioTextProcessing(const char *Titel, int apid, bool replay = false); void DisableRadioTextProcessing(); - void RadiotextDecode(uchar *Data, int Length); + void RadiotextDecode(uchar *Data); void RDS_PsPtynDecode(bool PTYN, uchar *Data, int Length); }; -- cgit v1.2.3