nmux: Small fixes

This commit is contained in:
ha7ilm 2017-01-19 19:49:09 +01:00
parent 2c5089d18d
commit c1d8fceea5
3 changed files with 3 additions and 3 deletions

View File

@ -176,7 +176,7 @@ csdr_dynamic_bufsize = False # This allows you to change the buffering mode of c
csdr_print_bufsizes = False # This prints the buffer sizes used for csdr processes. csdr_print_bufsizes = False # This prints the buffer sizes used for csdr processes.
csdr_through = False # Setting this True will print out how much data is going into the DSP chains. csdr_through = False # Setting this True will print out how much data is going into the DSP chains.
nmux_memory = 70 #in megabytes. This sets the approximate size of the circular buffer used by nmux. nmux_memory = 50 #in megabytes. This sets the approximate size of the circular buffer used by nmux.
#Look up external IP address automatically from icanhazip.com, and use it as [server_hostname] #Look up external IP address automatically from icanhazip.com, and use it as [server_hostname]
""" """

View File

@ -132,7 +132,7 @@ def main():
import_all_plugins("plugins/dsp/") import_all_plugins("plugins/dsp/")
#Pypy #Pypy
if pypy: print "pypy detected (and now something completely different: a c code is expected to run at a speed of 3*10^8 m/s?)" if pypy: print "pypy detected (and now something completely different: c code is expected to run at a speed of 3*10^8 m/s?)"
#Change process name to "openwebrx" (to be seen in ps) #Change process name to "openwebrx" (to be seen in ps)
try: try:

View File

@ -54,7 +54,7 @@ class dsp_plugin:
self.fft_averages = 50 self.fft_averages = 50
def chain(self,which): def chain(self,which):
any_chain_base="ncat -v 127.0.0.1 {nc_port} | " any_chain_base="nc -v 127.0.0.1 {nc_port} | "
if self.csdr_dynamic_bufsize: any_chain_base+="csdr setbuf {start_bufsize} | " if self.csdr_dynamic_bufsize: any_chain_base+="csdr setbuf {start_bufsize} | "
if self.csdr_through: any_chain_base+="csdr through | " if self.csdr_through: any_chain_base+="csdr through | "
any_chain_base+=self.format_conversion+(" | " if self.format_conversion!="" else "") ##"csdr flowcontrol {flowcontrol} auto 1.5 10 | " any_chain_base+=self.format_conversion+(" | " if self.format_conversion!="" else "") ##"csdr flowcontrol {flowcontrol} auto 1.5 10 | "