From e2aabde641ff77a7fe36739a3fa16d981961cfbd Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 23 Mar 2018 18:08:38 +0100 Subject: [PATCH] Multiple audio support: renamed AudioDeviceInfo to AudioDeviceManager --- sdrbase/CMakeLists.txt | 4 +- ...odeviceinfo.cpp => audiodevicemanager.cpp} | 40 +++++++++---------- ...audiodeviceinfo.h => audiodevicemanager.h} | 10 ++--- sdrbase/dsp/dspengine.h | 6 +-- sdrbase/settings/mainsettings.cpp | 10 ++--- sdrbase/settings/mainsettings.h | 8 ++-- sdrgui/gui/audiodialog.cpp | 5 ++- sdrgui/gui/audiodialog.h | 6 +-- sdrgui/mainwindow.cpp | 14 ++++--- sdrgui/webapi/webapiadaptergui.cpp | 26 ++++++------ sdrsrv/maincore.cpp | 2 +- sdrsrv/webapi/webapiadaptersrv.cpp | 26 ++++++------ 12 files changed, 80 insertions(+), 77 deletions(-) rename sdrbase/audio/{audiodeviceinfo.cpp => audiodevicemanager.cpp} (76%) rename sdrbase/audio/{audiodeviceinfo.h => audiodevicemanager.h} (92%) diff --git a/sdrbase/CMakeLists.txt b/sdrbase/CMakeLists.txt index c56bc4cba..cfae2ff19 100644 --- a/sdrbase/CMakeLists.txt +++ b/sdrbase/CMakeLists.txt @@ -3,7 +3,7 @@ project (sdrbase) #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined") set(sdrbase_SOURCES - audio/audiodeviceinfo.cpp + audio/audiodevicemanager.cpp audio/audiofifo.cpp audio/audiooutput.cpp audio/audioinput.cpp @@ -84,7 +84,7 @@ set(sdrbase_SOURCES ) set(sdrbase_HEADERS - audio/audiodeviceinfo.h + audio/audiodevicemanager.h audio/audiofifo.h audio/audiooutput.h audio/audioinput.h diff --git a/sdrbase/audio/audiodeviceinfo.cpp b/sdrbase/audio/audiodevicemanager.cpp similarity index 76% rename from sdrbase/audio/audiodeviceinfo.cpp rename to sdrbase/audio/audiodevicemanager.cpp index b803ae400..f5779ce60 100644 --- a/sdrbase/audio/audiodeviceinfo.cpp +++ b/sdrbase/audio/audiodevicemanager.cpp @@ -15,10 +15,10 @@ // along with this program. If not, see . // /////////////////////////////////////////////////////////////////////////////////// -#include "audio/audiodeviceinfo.h" +#include