Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / blks2_standard_squelch.xml
diff --git a/grc/blocks/blks2_standard_squelch.xml b/grc/blocks/blks2_standard_squelch.xml
new file mode 100644 (file)
index 0000000..f0baeb6
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Standard Squelch
+###################################################
+ -->
+<block>
+       <name>Standard Squelch</name>
+       <key>blks2_standard_squelch</key>
+       <import>from gnuradio import blks2</import>
+       <make>blks2.standard_squelch(audio_rate=$audio_rate)
+self.$(id).set_threshold($threshold)</make>
+       <callback>set_threshold($threshold)</callback>
+       <param>
+               <name>Audio Rate</name>
+               <key>audio_rate</key>
+               <type>real</type>
+       </param>
+       <param>
+               <name>Threshold</name>
+               <key>threshold</key>
+               <type>real</type>
+       </param>
+       <sink>
+               <name>in</name>
+               <type>float</type>
+       </sink>
+       <source>
+               <name>out</name>
+               <type>float</type>
+       </source>
+</block>