summaryrefslogtreecommitdiff
path: root/gnuradio-runtime
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2016-06-28 11:34:51 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2016-06-28 11:34:51 -0700
commitc35415fdc5d3a705ca1c63e48dde7486b234323d (patch)
tree9f5ecb702d054fcb5beb3689c55be0e9a3545086 /gnuradio-runtime
parent3b2566122d89a1c23460f8d1f3e558b872666612 (diff)
parentc40fc96881fb99c5032e3d3c417aee3e9466d852 (diff)
Merge branch 'maint'
Diffstat (limited to 'gnuradio-runtime')
-rwxr-xr-xgnuradio-runtime/examples/mp-sched/wfm_rcv_pll_to_wav.py4
-rwxr-xr-xgnuradio-runtime/examples/network/audio_source.py2
-rwxr-xr-xgnuradio-runtime/examples/network/dial_tone_source.py2
-rwxr-xr-xgnuradio-runtime/examples/network/vector_source.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/gnuradio-runtime/examples/mp-sched/wfm_rcv_pll_to_wav.py b/gnuradio-runtime/examples/mp-sched/wfm_rcv_pll_to_wav.py
index 7cf3210b0..1a43dc3a1 100755
--- a/gnuradio-runtime/examples/mp-sched/wfm_rcv_pll_to_wav.py
+++ b/gnuradio-runtime/examples/mp-sched/wfm_rcv_pll_to_wav.py
@@ -20,7 +20,7 @@
# Boston, MA 02110-1301, USA.
#
-from gnuradio import gr, gru, eng_notation, optfir
+from gnuradio import gr, gru, eng_notation, filter
from gnuradio import audio
from gnuradio import analog
from gnuradio import blocks
@@ -61,7 +61,7 @@ class wfm_rx_block (gr.top_block):
audio_rate = demod_rate / audio_decimation # 32 kHz
- chan_filt_coeffs = optfir.low_pass (1, # gain
+ chan_filt_coeffs = filter.optfir.low_pass (1, # gain
usrp_rate, # sampling rate
80e3, # passband cutoff
115e3, # stopband cutoff
diff --git a/gnuradio-runtime/examples/network/audio_source.py b/gnuradio-runtime/examples/network/audio_source.py
index 577beff84..881efff81 100755
--- a/gnuradio-runtime/examples/network/audio_source.py
+++ b/gnuradio-runtime/examples/network/audio_source.py
@@ -41,7 +41,7 @@ class audio_source(gr.top_block):
if __name__ == '__main__':
parser = OptionParser(option_class=eng_option)
- parser.add_option("", "--host", type="string", default="localhost",
+ parser.add_option("", "--host", type="string", default="127.0.0.1",
help="Remote host name (domain name or IP address")
parser.add_option("", "--port", type="int", default=65500,
help="port number to connect to")
diff --git a/gnuradio-runtime/examples/network/dial_tone_source.py b/gnuradio-runtime/examples/network/dial_tone_source.py
index 26064962d..20c9a3b80 100755
--- a/gnuradio-runtime/examples/network/dial_tone_source.py
+++ b/gnuradio-runtime/examples/network/dial_tone_source.py
@@ -53,7 +53,7 @@ class dial_tone_source(gr.top_block):
if __name__ == '__main__':
parser = OptionParser(option_class=eng_option)
- parser.add_option("", "--host", type="string", default="localhost",
+ parser.add_option("", "--host", type="string", default="127.0.0.1",
help="Remote host name (domain name or IP address")
parser.add_option("", "--port", type="int", default=65500,
help="port number to connect to")
diff --git a/gnuradio-runtime/examples/network/vector_source.py b/gnuradio-runtime/examples/network/vector_source.py
index 568425fd5..c13b4b1d6 100755
--- a/gnuradio-runtime/examples/network/vector_source.py
+++ b/gnuradio-runtime/examples/network/vector_source.py
@@ -35,7 +35,7 @@ class vector_source(gr.top_block):
if __name__ == '__main__':
parser = OptionParser(option_class=eng_option)
- parser.add_option("", "--host", type="string", default="localhost",
+ parser.add_option("", "--host", type="string", default="127.0.0.1",
help="Remote host name (domain name or IP address")
parser.add_option("", "--port", type="int", default=65500,
help="port number to connect to")