Age | Commit message (Collapse) | Author |
|
On some systems (e.g., Debian/lenny) UDP errors are reported on the
following send() or recv() call. To avoid having errors (such as
ECONNREFUSED) from an old connection showing up on the first write
to a new connection, we do a recv() on disconnect() to flush them.
This may not work for all errors on all systems, but it works in
some simple cases of interest.
|
|
|
|
Remove source address specifications for sink; add connect() and
disconnect() to sink; add get_port() to source; add optional EOF
signaling (using zero-length packets) to sink and source; modify
dial_tone, vector, and audio examples to match new code; add qa
test case.
|
|
This change was needed because gr_ofdm_sampler derives directly from
gr_block, but functions (from the runtime's point of view) as a
decimator. It takes many items in to produce a single output
item. Without this change, values of fft_size > ~4096 would result
in the scheduler complaining that it could never fullfil the block's
request for samples.
When deriving from gr_sync_interpolator or gr_sync_decimator, their
constructors set the hint automatically.
|
|
|
|
Use select() to avoid blocking on recv() in gr_udp_source (only known
way to avoid blocking on Cygwin).
Add wait argument to gr_udp_source to allow waiting for connection
or accepting lack of connection as EOF; add --no-wait option to
dial_tone_sink.py.
Remove system dependencies from .h files; remove unused data members
and (useless?) public open and close functions.
|
|
properly.
|
|
right now and uses a lot of memory to handle the buffers for each filter/input stream.
|
|
|
|
Remove omnithread dependency in build for gr-audio-portaudio
Remove unused debugging utility class in gnuradio-core (gri_logger)
|
|
Also fixes warnings from gcc 4.3 and adds <boost/bind.hpp> for usrp2.
|
|
Using getaddrinfo allows more common code between posix and winsock
systems. Remove unused variables and #include files. Close sockets
when done.
|
|
interface since we don't _really_ suppor this right now. Renamed it and made it private.
|
|
|
|
|
|
|
|
|
|
Initialize and cleanup after winsock DLL. Interpret winsock error
codes. Use DWORD instead of timeval for setting timeout.
|
|
SO_LINGER is not valid for SOCK_DGRAM sockets on Windows, so we
expect setsockopt to return ENOPROTOOPT (invalid option for
protocol) on Cygwin and MinGW. If it happens on any other system
it should probably be ignored there, too.
|
|
possibly looking back at input item -1.
|
|
|
|
channels and input sample rate.
This now checks to make sure the user-specified rate is valid.
Also added some documentation to describe the oversample rate parameter.
|
|
|
|
fs] where fs is the input sample rate and N is the number of channels. The ratios work out to be N/i for i in [1, N].
|
|
Also, cleaning up a bit wrt class members.
|
|
flipped. The commented code removed in this checkin does that through a calculation in the loops, but the way the filter assignment works with this code, the flip is done by keeping the indexing static, so a look up table works and is slightly faster.
|
|
|
|
rate out.
There are two versions of the code in here with the second way being more general and efficient. This one should be more extendable to allowing rational ratio output sampling rates.
|
|
produces the correct output for oversampling_rate = 1.
|
|
This block performs scrambling by XORing the input sequence with
the output of an LFSR. Repeating this operation restores the original
sequence.
(This differs from gr.scrambler_bb(), which convolves the input sequence
with the LFSR output.)
The additive scrambler allows an optional bit count after which the LFSR
is reset to its initial seed. This allows use with, e.g., packetized
fixed length payloads.
|
|
|
|
|
|
the SSE the use of intrinics. Code for the SSE versions is still there just disabled.
|
|
|
|
|
|
modulation_utils2 so only new modulator blocks work with the version 2 of everything. Also changed some internal names for clarity.
|
|
|
|
Conflicts:
gnuradio-examples/python/digital/benchmark_qt_rx2.py
|
|
operations.
|
|
switched into FFT filter block.
|
|
|
|
logging output streams.
|
|
|
|
|
|
|
|
|
|
|
|
fft_filter_fff now uses new class successfully and passes make check.
|
|
|
|
|