Make QSpectrumAnalyzer compatible with latest soapy_power 1.5.0

This commit is contained in:
Michal Krenek (Mikos) 2017-03-21 16:39:26 +01:00
parent c574761a8c
commit d8d158c100
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ pkgdesc="Spectrum analyzer for multiple SDR platforms (PyQtGraph based GUI for s
arch=('any')
url="https://github.com/xmikos/qspectrumanalyzer"
license=('GPL3')
depends=('python-qt.py' 'python-pyqt5' 'python-pyqtgraph' 'soapy_power')
depends=('python-qt.py' 'python-pyqt5' 'python-pyqtgraph' 'soapy_power>=1.5.0')
makedepends=('python-setuptools')
optdepends=(
'rtl_power_fftw-git: alternative RTL-SDR backend using FFTW library (much faster than rtl_power)'

View File

@ -106,7 +106,7 @@ class PowerThread(BasePowerThread):
if additional_params:
cmdline.extend(shlex.split(additional_params))
self.process = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL,
self.process = subprocess.Popen(cmdline, stdout=subprocess.PIPE,
universal_newlines=False)
def parse_output(self, buf):

View File

@ -68,7 +68,7 @@ class PowerThread(BasePowerThread):
"bin_size": bin_size,
"interval": interval,
"hops": 0,
"gain": gain * 10,
"gain": gain,
"ppm": ppm,
"crop": crop * 100,
"single_shot": single_shot

View File

@ -30,7 +30,7 @@ setup(
],
},
install_requires=[
"soapy_power>=1.4.0",
"soapy_power>=1.5.0",
"pyqtgraph>=0.10.0",
"Qt.py"
],