X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.h;h=2eeaf1c76fa4c1cba4718c8e627c05e1bb0e7afa;hp=073f2692565da5db9f0024d74ae4f5cb9581c48e;hb=8bd26d8b9c831b509ee3241ea4dac6f50c023622;hpb=f70d8673a56471c7e4b22159b99684da7d6c4be1 diff --git a/pv/data/decoderstack.h b/pv/data/decoderstack.h index 073f2692..2eeaf1c7 100644 --- a/pv/data/decoderstack.h +++ b/pv/data/decoderstack.h @@ -37,7 +37,7 @@ struct srd_decoder; struct srd_decoder_annotation_row; -struct srd_probe; +struct srd_channel; struct srd_proto_data; struct srd_session; @@ -72,6 +72,7 @@ private: static const double DecodeMargin; static const double DecodeThreshold; static const int64_t DecodeChunkLength; + static const unsigned int DecodeNotifyPeriod; public: DecoderStack(pv::SigSession &_session, @@ -109,7 +110,7 @@ private: void decode_data(const int64_t sample_count, const unsigned int unit_size, srd_session *const session); - void decode_proc(boost::shared_ptr data); + void decode_proc(); static void annotation_callback(srd_proto_data *pdata, void *decoder);