Linux now uses librtuadio-dev where available

merge-requests/5/head
Phil Taylor 2021-06-02 18:16:38 +01:00
rodzic 2068af04e2
commit b850eb078b
2 zmienionych plików z 5 dodań i 7 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -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