diff options
author | Eric Blossom | 2010-11-15 23:49:35 -0800 |
---|---|---|
committer | Eric Blossom | 2010-11-15 23:49:35 -0800 |
commit | c80fdf2897624d10123a35b1a19d150f3a5645c8 (patch) | |
tree | 4503432c71143f385cf8264611c6528682a7b84c /gr-guile | |
parent | f0ed1de2d15b24eae7be7ab8a4762a6fd74ff681 (diff) | |
download | gnuradio-c80fdf2897624d10123a35b1a19d150f3a5645c8.tar.gz gnuradio-c80fdf2897624d10123a35b1a19d150f3a5645c8.tar.bz2 gnuradio-c80fdf2897624d10123a35b1a19d150f3a5645c8.zip |
Modify GR_SWIG_BLOCK_MAGIC to not strip package prefix when using
GUILE outside of gnuradio-core.
This avoids the problem with the guile bindings where multiple blocks
end up with the name gr:sink (e.g., audio_alsa_sink). With this
change, it ends us as gr:audio-alsa-sink.
Blocks in gnuradio-core continue to have the leading gr_ removed from
their class names.
Diffstat (limited to 'gr-guile')
-rw-r--r-- | gr-guile/example-waveforms/dial-tone.wfd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-guile/example-waveforms/dial-tone.wfd b/gr-guile/example-waveforms/dial-tone.wfd index 75091ad36..ced3df572 100644 --- a/gr-guile/example-waveforms/dial-tone.wfd +++ b/gr-guile/example-waveforms/dial-tone.wfd @@ -32,8 +32,7 @@ (blocks (src0 (gr:sig-source-f sample-rate (gr:GR-SIN-WAVE) 350 ampl)) (src1 (gr:sig-source-f sample-rate (gr:GR-SIN-WAVE) 440 ampl)) - ;;(sink (gr:audio-alsa-sink sample-rate "plughw:0,0")) - (sink (gr:sink sample-rate "plughw:0,0")) + (sink (gr:audio-alsa-sink sample-rate "plughw:0,0")) ) (connections |