diff options
author | Kevin Reid <kpreid@switchb.org> | 2014-07-07 10:52:10 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-07-07 10:52:29 -0400 |
commit | e6a396f21c3794462c4db4930a590551ba548952 (patch) | |
tree | 3b28885ef08c32f067043549bd84c87974e8d4eb /gr-blocks/include/gnuradio/blocks/short_to_char.h | |
parent | a6c837e184f4bbf6a0d5c15b8c9ca75294a64f0f (diff) |
docs: Corrects or expands documentation comments for various blocks where I have had to read the source code to understand the
- char_to_short and short_to_char scale by a factor of 1<<8.
- What delay actually does.
- File descriptor blocks close their FDs when destroyed.
And one code change:
The firdes transition width check error text is made consistent with other similar messages.
Addresses Issue #686.
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/short_to_char.h')
-rw-r--r-- | gr-blocks/include/gnuradio/blocks/short_to_char.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/short_to_char.h b/gr-blocks/include/gnuradio/blocks/short_to_char.h index 22a157d341..a80e6dc63d 100644 --- a/gr-blocks/include/gnuradio/blocks/short_to_char.h +++ b/gr-blocks/include/gnuradio/blocks/short_to_char.h @@ -38,6 +38,10 @@ namespace gr { * [0x00ff, 0x0ff0, 0xff00] => [0x00, 0x0f, 0xff] * * \ingroup type_converters_blk + * + * \details + * Converts \p vlen length vectors of input short samples to chars, + * dividing each element by 256. */ class BLOCKS_API short_to_char : virtual public sync_block { |