- added wav

git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@960 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-06-13 16:23:32 +00:00
parent aa86689c56
commit ce1a9529cb
2 changed files with 10 additions and 3 deletions
+5 -3
View File
@@ -14,14 +14,14 @@ CXX_SRCS += $(PWD)/test.cpp
LIBS := -lstdc++ -lm -lpthread -lrt
LDFLAGS += $(TARGET_ARCH) $(LIBDIR)
DEFINES += -DPROCESSOR_BUFFER_USE_EXCEPTIONS
INCLUDES += -I $(BLAZE_PATH)
INCLUDES += -I $(LIBSRC_PATH) -I $(BLAZE_PATH)
all: compile app
app: packages link
.PHONY: Radio Fir Crc
.PHONY: Radio Fir Crc Wav
packages: Radio Fir Crc
packages: Radio Fir Crc Wav
Radio:
@$(MAKE) -C $(LIBSRC_PATH)/cpp/radio
@@ -29,6 +29,8 @@ Fir:
@$(MAKE) -C $(LIBSRC_PATH)/fir
Crc:
@$(MAKE) -C $(LIBSRC_PATH)/crc
Wav:
@$(MAKE) -C $(LIBSRC_PATH)/wav
include $(MAKE_HOME)/compile.mk
include $(MAKE_HOME)/link.mk
@@ -3,6 +3,7 @@
#include <cpp/radio/interpolation/Farrow.hpp>
#include <cpp/radio/interpolation/PolyPhase.hpp>
#include <radio/synchronization.h>
#include <wav/wav.h>
#include <string.h>
@@ -10,6 +11,10 @@ using namespace Radio;
void test()
{
WAV wavRead;
WavOpen(&wavRead, "m2_12k_12k_i_q.wav");
Interpolation::Farrow m_farrow;
// Loop-Filter