Age | Commit message (Collapse) | Author |
|
Added to the cc files which were missing config.h and
required compatibility functions defined in config.h.
Applies to compiling under MSVC with cmake work branch.
|
|
|
|
|
|
and float, long and short form for each.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This greatly cleans up gr_throttle and moves the implementation into the .cc file.
The implementation uses boost's posix time library so it will work on all systems.
Also added set_sample_rate() method and support for callback in grc.
|
|
|
|
|
|
|
|
* jblum/wip/attributes:
created gruel/attributes.h to house compiler specific attribute macros
|
|
* jblum/mergeme/misc/gruel_thread_simplification:
gruel thread simplification:
|
|
* jblum/mergeme/misc/gr_flowgraph_include_iterator:
gr_flowgraph.cc explicit include of <iterator>
|
|
* jblum/mergeme/misc/use_boost_math_round:
use boost::math::iround in gr_histo_sink_f.cc and gr_wavfile_sink.cc
|
|
* jblum/mergeme/misc/use_boost_math_trunc:
use boost::math::trunc in gr_frequency_modulator_fc.cc
|
|
replaced instances of __attribute__ with __GR_ATTR from attributes.h
what else has compiler specific attributes?
volk - volk is stand-alone, needs its own attributes.h
gcell - not touching that, probably gcc only anyways
usrp2 firmware - does not matter to host build
|
|
* jblum/wip/gr-audio:
audio: high prio for platform specific audio osx
audio: added windows and osx audio source files
audio: added config checks for other audios, added jack and port
audio: make prefs look like old audio, removed old audio.py
audio: register arches with priorities, ex: prefer alsa over oss
audio: added oss support to gr-audio
audio: use conf files to specify default arch
audio: moved the grc audio blocks into gr-audio dir
audio: moved alsa support files into subdirectory
audio: work on swig support, it imports
audio: work to get alsa support in, lets see if this works before adding more
audio: added audio factory registry and top level includes
audio: skeleton for gr-audio component
|
|
|
|
|
|
|
|
|
|
Removed get_new_timeout from thread.h (usrp2_vrt carryover) Basically it was created because of a misunderstanding of the time types; and its only ever called once. This also removes thread.cc
Call posix_time::milliseconds in usrp2 control.cc. Notice that it passes a time_duration rather than a ptime (aka system time).
Added #include <deque> to gr_buffer.h. It turns out that boost posix_time.hpp implicitly included the deque header which was missing from gr_buffer.h
Replaced the include for thread.hpp with only the includes for the boost thread types mentioned in gruel/thread.h. Also, making use of the scoped_lock typedef that comes with boost thread locks. boost 3.5 safe.
|
|
Added explicit include of <iterator>,
which was implicitly included by <vector>.
Affects platforms where vector does not automatically pull in iterator.
|
|
this provides a round implementation on platforms w/o c99 standard
|
|
this replaces the need for a conditional trunc implementation in config.h
|
|
|
|
|
|
|
|
|
|
into mergeme/misc/mkdir_simplification
|
|
|
|
gr_sys_paths.h has gr_tmp_path() and gr_appdata_path()
this replaces gr_tmp_path.h
|
|
|
|
|
|
|
|
|
|
|
|
Replaced copy/pasted code and MKDIR_TAKES_ONE_ARG #ifdefs
with portable boost filesystem path and directory creation.
Gets the correct home directory on windows systems: APPDATA.
Replaces large amounts of copypasta with single lines of code.
Removes MKDIR_TAKES_ONE_ARG configuration checks from m4 files.
Adds boost filesystem and system library as build dependencies.
|
|
Initialize PI and TWO_TO_THE_31 the standard portable c++ way.
No need for "gcc 4.x fix".
See http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.12
|
|
|
|
Use explicit data type casts in math functions where the overloaded function could not be determined.
affects msvc
|
|
Replaces gr_gcd, gr_isnan, and gr_signbit one-time instances with boot math calls.
No point in wrapping these utility math functions into gnuradio when they are
1) provided by boost
2) only called once
Removes gr_math.cc, and configure checks for isnan.
|
|
* master:
Adding new accessor for Goertzel filter to GRC block. Thanks to Marcus Leech for the last three modifications.
Adding accessors to Goertzel filter GR block to call setparms from implementation file for (re)setting parameters.
Adding accessor function to Goertzel filter implementaiton to set/reset its parameters.
|