- improved peak detect
git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@452 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -32,11 +32,10 @@ namespace jay {
|
||||
// Nothing to declare in this block.
|
||||
float m_alpha_s;
|
||||
float m_alpha_m;
|
||||
int m_vlen;
|
||||
int *m_pPeakCount;
|
||||
int *m_pPeak;
|
||||
float *m_pXs;
|
||||
float *m_pXm;
|
||||
FILE *m_pFile_frames;
|
||||
uint64_t m_frameCount;
|
||||
|
||||
public:
|
||||
peak_detect_impl(float alpha_s, float alpha_m, int vlen);
|
||||
@@ -44,6 +43,8 @@ namespace jay {
|
||||
|
||||
// Where all the action really happens
|
||||
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);
|
||||
};
|
||||
|
||||
} // namespace jay
|
||||
|
||||
Reference in New Issue
Block a user