- added wav
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@960 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -14,14 +14,14 @@ CXX_SRCS += $(PWD)/test.cpp
|
|||||||
LIBS := -lstdc++ -lm -lpthread -lrt
|
LIBS := -lstdc++ -lm -lpthread -lrt
|
||||||
LDFLAGS += $(TARGET_ARCH) $(LIBDIR)
|
LDFLAGS += $(TARGET_ARCH) $(LIBDIR)
|
||||||
DEFINES += -DPROCESSOR_BUFFER_USE_EXCEPTIONS
|
DEFINES += -DPROCESSOR_BUFFER_USE_EXCEPTIONS
|
||||||
INCLUDES += -I $(BLAZE_PATH)
|
INCLUDES += -I $(LIBSRC_PATH) -I $(BLAZE_PATH)
|
||||||
|
|
||||||
all: compile app
|
all: compile app
|
||||||
app: packages link
|
app: packages link
|
||||||
|
|
||||||
.PHONY: Radio Fir Crc
|
.PHONY: Radio Fir Crc Wav
|
||||||
|
|
||||||
packages: Radio Fir Crc
|
packages: Radio Fir Crc Wav
|
||||||
|
|
||||||
Radio:
|
Radio:
|
||||||
@$(MAKE) -C $(LIBSRC_PATH)/cpp/radio
|
@$(MAKE) -C $(LIBSRC_PATH)/cpp/radio
|
||||||
@@ -29,6 +29,8 @@ Fir:
|
|||||||
@$(MAKE) -C $(LIBSRC_PATH)/fir
|
@$(MAKE) -C $(LIBSRC_PATH)/fir
|
||||||
Crc:
|
Crc:
|
||||||
@$(MAKE) -C $(LIBSRC_PATH)/crc
|
@$(MAKE) -C $(LIBSRC_PATH)/crc
|
||||||
|
Wav:
|
||||||
|
@$(MAKE) -C $(LIBSRC_PATH)/wav
|
||||||
|
|
||||||
include $(MAKE_HOME)/compile.mk
|
include $(MAKE_HOME)/compile.mk
|
||||||
include $(MAKE_HOME)/link.mk
|
include $(MAKE_HOME)/link.mk
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
#include <cpp/radio/interpolation/Farrow.hpp>
|
#include <cpp/radio/interpolation/Farrow.hpp>
|
||||||
#include <cpp/radio/interpolation/PolyPhase.hpp>
|
#include <cpp/radio/interpolation/PolyPhase.hpp>
|
||||||
#include <radio/synchronization.h>
|
#include <radio/synchronization.h>
|
||||||
|
#include <wav/wav.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@@ -10,6 +11,10 @@ using namespace Radio;
|
|||||||
|
|
||||||
void test()
|
void test()
|
||||||
{
|
{
|
||||||
|
WAV wavRead;
|
||||||
|
|
||||||
|
WavOpen(&wavRead, "m2_12k_12k_i_q.wav");
|
||||||
|
|
||||||
Interpolation::Farrow m_farrow;
|
Interpolation::Farrow m_farrow;
|
||||||
|
|
||||||
// Loop-Filter
|
// Loop-Filter
|
||||||
|
|||||||
Reference in New Issue
Block a user