diff options
author | Ulrich Eckhardt <uli@uli-eckhardt.de> | 2018-07-15 16:55:50 +0200 |
---|---|---|
committer | Ulrich Eckhardt <uli@uli-eckhardt.de> | 2018-07-15 16:55:50 +0200 |
commit | 2c775ce4f145570600f24821e2010f3e95d18f8e (patch) | |
tree | e797af148c8fcb24d676866a409be83493b60f12 /radioaudio.h | |
parent | b579440eba200c178b3860683634b4b83053cd23 (diff) | |
download | vdr-plugin-radio-2c775ce4f145570600f24821e2010f3e95d18f8e.tar.gz vdr-plugin-radio-2c775ce4f145570600f24821e2010f3e95d18f8e.tar.bz2 |
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.
Diffstat (limited to 'radioaudio.h')
-rw-r--r-- | radioaudio.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); }; |