17 lines
376 B
C
17 lines
376 B
C
|
#ifndef GSMDECODER_H
|
||
|
#define GSMDECODER_H
|
||
|
#include "player.h"
|
||
|
#include "oneway.h"
|
||
|
#include "gsm.h"
|
||
|
|
||
|
class GsmDecoder : public OneWay {
|
||
|
FIFO<PText, FIFOLEN> & fifo;
|
||
|
GsmStatic gsm;
|
||
|
gsm_signal tmpbuf [GSMLEN];
|
||
|
public:
|
||
|
explicit GsmDecoder(FIFO<PText, FIFOLEN> & f) noexcept;
|
||
|
unsigned Send (uint16_t * ptr, const unsigned len) override;
|
||
|
};
|
||
|
|
||
|
#endif // GSMDECODER_H
|