1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-05-29 13:32:26 -04:00

SSB demod: increase audio volume range to -10 to +40 dB. Restored Appveyour MSVC build

This commit is contained in:
f4exb 2021-03-16 05:16:59 +01:00
parent af98689c37
commit 996e4d7816
3 changed files with 45 additions and 42 deletions

View File

@ -10,16 +10,16 @@ matrix:
environment: environment:
matrix: matrix:
# - TARGET: vs2019gui - TARGET: vs2019gui
# APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2019' APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2019'
# configuration: Release configuration: Release
# CMAKE_CUSTOM_OPTIONS: "-DCMAKE_BUILD_TYPE=Release \ CMAKE_CUSTOM_OPTIONS: "-DCMAKE_BUILD_TYPE=Release \
# -DARCH_OPT=SSE4_2 \ -DARCH_OPT=SSE4_2 \
# -DDEBUG_OUTPUT=ON \ -DDEBUG_OUTPUT=ON \
# -DENABLE_MIRISDR=OFF \ -DENABLE_MIRISDR=OFF \
# -DBUILD_SERVER=OFF \ -DBUILD_SERVER=OFF \
# -DCMAKE_PREFIX_PATH=C:\\Qt\\5.15.2\\msvc2019_64;C:\\Libraries\\boost_1_73_0" -DCMAKE_PREFIX_PATH=C:\\Qt\\5.15.2\\msvc2019_64;C:\\Libraries\\boost_1_73_0"
# CMAKE_GENERATOR: Ninja CMAKE_GENERATOR: Ninja
- TARGET: ubuntu2004prod - TARGET: ubuntu2004prod
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004 APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2004
CC: "gcc-9" CC: "gcc-9"
@ -35,36 +35,36 @@ environment:
APPVEYOR_CONSOLE_DISABLE_PTY: true APPVEYOR_CONSOLE_DISABLE_PTY: true
for: for:
# - matrix: - matrix:
# only: only:
# - TARGET: 'vs2019gui' - TARGET: 'vs2019gui'
# cache: cache:
# - C:\ProgramData\chocolatey\bin - C:\ProgramData\chocolatey\bin
# - C:\ProgramData\chocolatey\lib - C:\ProgramData\chocolatey\lib
# build_script: build_script:
# - call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" - call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
# # Install GNU patch as applying patches with git fails in BladeRF tree # Install GNU patch as applying patches with git fails in BladeRF tree
# - choco install patch - choco install patch
# - git submodule update --init --recursive - git submodule update --init --recursive
# - mkdir build && cd build - mkdir build && cd build
# - cmake .. -G "%CMAKE_GENERATOR%" %CMAKE_CUSTOM_OPTIONS% - cmake .. -G "%CMAKE_GENERATOR%" %CMAKE_CUSTOM_OPTIONS%
# - cmake --build . --config Release --target package - cmake --build . --config Release --target package
# artifacts: # push installer executable artifacts: # push installer executable
# path: build\*.exe path: build\*.exe
# name: installer name: installer
# deploy: deploy:
# release: sdrangel-v$(appveyor_build_version) release: sdrangel-v$(appveyor_build_version)
# description: 'SDRangel Windows' description: 'SDRangel Windows'
# provider: GitHub provider: GitHub
# auth_token: auth_token:
# secure: kyU5TaXRoily6q/QLRLqal2xCFGWEdnb8AJIu7FknsUQyj1wjRGmqC2My+Wfszod secure: kyU5TaXRoily6q/QLRLqal2xCFGWEdnb8AJIu7FknsUQyj1wjRGmqC2My+Wfszod
# artifact: installer, portable artifact: installer, portable
# draft: false draft: false
# prerelease: false prerelease: false
# tag: $(APPVEYOR_REPO_TAG_NAME) # will not work until tag is pushed tag: $(APPVEYOR_REPO_TAG_NAME) # will not work until tag is pushed
# on: on:
# APPVEYOR_REPO_TAG: true # deploy on tag push only APPVEYOR_REPO_TAG: true # deploy on tag push only
# branch: master # release from master branch only branch: master # release from master branch only
- matrix: - matrix:
only: only:
- TARGET: ubuntu2004prod - TARGET: ubuntu2004prod

View File

@ -685,6 +685,9 @@
<property name="toolTip"> <property name="toolTip">
<string>Audio volume in dB</string> <string>Audio volume in dB</string>
</property> </property>
<property name="minimum">
<number>-10</number>
</property>
<property name="maximum"> <property name="maximum">
<number>40</number> <number>40</number>
</property> </property>

View File

@ -113,7 +113,7 @@ bool SSBMod::handleMessage(const Message& cmd)
if (MsgConfigureSSBMod::match(cmd)) if (MsgConfigureSSBMod::match(cmd))
{ {
MsgConfigureSSBMod& cfg = (MsgConfigureSSBMod&) cmd; MsgConfigureSSBMod& cfg = (MsgConfigureSSBMod&) cmd;
qDebug() << "NFMMod::handleMessage: MsgConfigureSSBMod"; qDebug() << "SSBMod::handleMessage: MsgConfigureSSBMod";
applySettings(cfg.getSettings(), cfg.getForce()); applySettings(cfg.getSettings(), cfg.getForce());
@ -168,7 +168,7 @@ bool SSBMod::handleMessage(const Message& cmd)
// Forward to the source // Forward to the source
DSPSignalNotification& notif = (DSPSignalNotification&) cmd; DSPSignalNotification& notif = (DSPSignalNotification&) cmd;
DSPSignalNotification* rep = new DSPSignalNotification(notif); // make a copy DSPSignalNotification* rep = new DSPSignalNotification(notif); // make a copy
qDebug() << "NFMMod::handleMessage: DSPSignalNotification"; qDebug() << "SSBMod::handleMessage: DSPSignalNotification";
m_basebandSource->getInputMessageQueue()->push(rep); m_basebandSource->getInputMessageQueue()->push(rep);
return true; return true;