From: c vw Date: Fri, 11 Sep 2020 11:39:35 +0000 (+0200) Subject: It is no longer needed to use PORTAUDIO on RaspPi etc, since X-Git-Url: https://git.rkrishnan.org/vdrive/running.html?a=commitdiff_plain;h=9de1357cc4a6a9e2e264b7501d66255eb4d67154;p=pihpsdr.git It is no longer needed to use PORTAUDIO on RaspPi etc, since the standard audio module now also runs a dual-latency strategy. --- diff --git a/Makefile b/Makefile index 87a89bb..fe69b75 100644 --- a/Makefile +++ b/Makefile @@ -34,9 +34,6 @@ PURESIGNAL_INCLUDE=PURESIGNAL #PTT_INCLUDE=PTT -# uncomment the line below to get the "portaudio" audio module (instead of the standard one). -#AUDIO_MODULE=PORTAUDIO - # very early code not included yet #SERVER_INCLUDE=SERVER @@ -172,18 +169,13 @@ endif GTKINCLUDES=`pkg-config --cflags gtk+-3.0` GTKLIBS=`pkg-config --libs gtk+-3.0` -ifeq ($(AUDIO_MODULE), PORTAUDIO) -AUDIO_OPTIONS=-DPORTAUDIO -AUDIO_LIBS=-lportaudio -else -AUDIO_OPTIONS= AUDIO_LIBS=-lasound -endif +#AUDIO_LIBS=-lsoundio CFLAGS= -g -Wno-deprecated-declarations -O3 OPTIONS=$(MIDI_OPTIONS) $(PURESIGNAL_OPTIONS) $(REMOTE_OPTIONS) $(USBOZY_OPTIONS) \ $(GPIO_OPTIONS) $(SOAPYSDR_OPTIONS) $(LOCALCW_OPTIONS) \ - $(STEMLAB_OPTIONS) $(AUDIO_OPTIONS) \ + $(STEMLAB_OPTIONS) \ $(PTT_OPTIONS) \ $(SERVER_OPTIONS) \ -D GIT_DATE='"$(GIT_DATE)"' -D GIT_VERSION='"$(GIT_VERSION)"' $(DEBUG_OPTION) @@ -200,7 +192,6 @@ PROGRAM=pihpsdr SOURCES= \ audio.c \ -portaudio.c \ band.c \ discovered.c \ discovery.c \ @@ -338,7 +329,6 @@ protocols.h OBJS= \ audio.o \ -portaudio.o \ band.o \ discovered.o \ discovery.o \