summaryrefslogtreecommitdiff
path: root/radioaudio.h
diff options
context:
space:
mode:
authorUlrich Eckhardt <uli@uli-eckhardt.de>2018-07-15 16:55:50 +0200
committerUlrich Eckhardt <uli@uli-eckhardt.de>2018-07-15 16:55:50 +0200
commit2c775ce4f145570600f24821e2010f3e95d18f8e (patch)
treee797af148c8fcb24d676866a409be83493b60f12 /radioaudio.h
parentb579440eba200c178b3860683634b4b83053cd23 (diff)
downloadvdr-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.h3
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);
};