~ubuntu-branches/ubuntu/trusty/gnuradio/trusty

« back to all changes in this revision

Viewing changes to gnuradio-core/src/lib/general/gr_align_on_samplenumbers_ss.h

  • Committer: Bazaar Package Importer
  • Author(s): Kamal Mostafa
  • Date: 2010-03-13 07:46:01 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100313074601-zjsa893a87bozyh7
Tags: 3.2.2.dfsg-1ubuntu1
* Fix build for Ubuntu lucid (LP: #260406)
  - add binary package dep for libusrp0, libusrp2-0: adduser
  - debian/rules clean: remove pre-built Qt moc files

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include <gr_block.h>
27
27
 
28
 
class gr_align_on_samplenumbers_ss;
29
 
typedef boost::shared_ptr<gr_align_on_samplenumbers_ss> gr_align_on_samplenumbers_ss_sptr;
30
 
 
31
 
gr_align_on_samplenumbers_ss_sptr gr_make_align_on_samplenumbers_ss (int nchan=2, int align_interval=128);
32
 
 
33
28
/*!
34
29
 * \brief align several complex short (interleaved short) input channels with corresponding unsigned 32 bit sample_counters (provided as interleaved 16 bit values)
 
30
 * \ingroup misc
35
31
 * \param number of complex_short input channels (including the 32 bit counting channel)
36
32
 * \param align_interval is after how much samples (minimally) the sample-alignement is refreshed. Default is 128.
37
33
 * A bigger value means less processing power but also requests more buffer space, which has a maximum.
46
42
 * This means that the first complex_short channel on every input is an interleaved 32 bit counter. 
47
43
 * The samples are aligned by dropping samples untill the samplenumbers match.
48
44
 */
 
45
class gr_align_on_samplenumbers_ss;
 
46
typedef boost::shared_ptr<gr_align_on_samplenumbers_ss> gr_align_on_samplenumbers_ss_sptr;
 
47
 
 
48
gr_align_on_samplenumbers_ss_sptr gr_make_align_on_samplenumbers_ss (int nchan=2, int align_interval=128);
 
49
 
 
50
 
49
51
 
50
52
 
51
53
class gr_align_on_samplenumbers_ss : public gr_block