kopia lustrzana https://gitlab.com/eliggett/wfview
Linux now uses librtuadio-dev where available
rodzic
2068af04e2
commit
b850eb078b
|
@ -123,7 +123,7 @@ bool audioHandler::init(const quint8 bits, const quint8 radioChan, const quint16
|
|||
|
||||
int resample_error = 0;
|
||||
|
||||
options.flags = !RTAUDIO_HOG_DEVICE | RTAUDIO_MINIMIZE_LATENCY;
|
||||
options.flags = ((!RTAUDIO_HOG_DEVICE) | (RTAUDIO_MINIMIZE_LATENCY));
|
||||
|
||||
if (isInput) {
|
||||
resampler = wf_resampler_init(devChannels, this->nativeSampleRate, samplerate, resampleQuality, &resample_error);
|
||||
|
|
10
wfview.pro
10
wfview.pro
|
@ -90,15 +90,15 @@ CONFIG(debug, release|debug) {
|
|||
}
|
||||
|
||||
#linux:LIBS += -L./ -l$$QCPLIB -lpulse -lpulse-simple -lpthread
|
||||
linux:LIBS += -L./ -l$$QCPLIB -lasound -lpthread
|
||||
linux:LIBS += -L./ -l$$QCPLIB -lrtaudio -lpthread
|
||||
macx:LIBS += -framework CoreAudio -framework CoreFoundation -lpthread
|
||||
|
||||
!linux:SOURCES += ../qcustomplot/qcustomplot.cpp
|
||||
!linux:HEADERS += ../qcustomplot/qcustomplot.h
|
||||
!linux:SOURCES += ../qcustomplot/qcustomplot.cpp rtaudio/RTAudio.cpp
|
||||
!linux:HEADERS += ../qcustomplot/qcustomplot.h rtaudio/RTAUdio.h
|
||||
!linux:INCLUDEPATH += ../qcustomplot
|
||||
|
||||
INCLUDEPATH += opus-tools/src
|
||||
INCLUDEPATH += rtaudio
|
||||
!linux:INCLUDEPATH += rtaudio
|
||||
|
||||
SOURCES += main.cpp\
|
||||
wfmain.cpp \
|
||||
|
@ -119,7 +119,6 @@ SOURCES += main.cpp\
|
|||
opus-tools/src/resample.c \
|
||||
repeatersetup.cpp \
|
||||
rigctld.cpp \
|
||||
rtaudio/RtAudio.cpp \
|
||||
ring/ring.cpp
|
||||
|
||||
HEADERS += wfmain.h \
|
||||
|
@ -144,7 +143,6 @@ HEADERS += wfmain.h \
|
|||
repeatersetup.h \
|
||||
repeaterattributes.h \
|
||||
rigctld.h \
|
||||
rtaudio/RtAudio.h \
|
||||
ulaw.h \
|
||||
ring/ring.h
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue