- added input buffer

git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@454 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-05-24 16:55:02 +00:00
parent c3451c5f5b
commit 37b31be587
2 changed files with 51 additions and 17 deletions
+4 -1
View File
@@ -32,9 +32,11 @@ namespace jay {
// Nothing to declare in this block.
float m_alpha_s;
float m_alpha_m;
int *m_pPeak;
float *m_pPeak;
float *m_pX;
float *m_pXs;
float *m_pXm;
int *m_pPeakPos;
uint64_t m_frameCount;
pmt::pmt_t m_tag_id;
@@ -46,6 +48,7 @@ namespace jay {
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items);
void fill(float *pDst, int length, float value);
float mean(float *pSrc, int length);
int findPeakPos(int *pDst, float *pSrc, int length, float thresh);
};
} // namespace jay