remove rds2

This commit is contained in:
2025-03-10 18:45:38 +01:00
parent 800f3222ca
commit b71445bfbf
20 changed files with 19 additions and 1334 deletions
-22
View File
@@ -8,14 +8,8 @@ project(minirds VERSION 1.0)
# Define options
option(ODA_RTP "Enable ODA (RT+)" ON)
option(RDS2 "Enable RDS2 capabilities" OFF)
option(RDS2_QUADRATURE_CARRIER "Shift RDS2 stream carriers by 90, 180, and 270 degrees" ON)
option(RDS2_SYMBOL_SHIFTING "Enable RDS2 symbol shifting" ON)
option(RDS2_DEBUG "Enable RDS2 debugging" OFF)
option(STATIC_LIBSAMPLERATE "Use a static libsamplerate library (.a)" OFF)
set(LIBSAMPLERATE_DIR "./libsamplerate" CACHE STRING "Directory for static libsamplerate")
# Set compiler and flags
@@ -28,22 +22,6 @@ set(SOURCES
rds.c
)
# Handle RDS2 options
if(RDS2)
add_definitions(-DRDS2)
set(SOURCES ${SOURCES} rds2.c)
if(RDS2_QUADRATURE_CARRIER)
add_definitions(-DRDS2_QUADRATURE_CARRIER)
endif()
if(RDS2_SYMBOL_SHIFTING)
add_definitions(-DRDS2_SYMBOL_SHIFTING)
endif()
endif()
if(RDS2_DEBUG)
add_definitions(-DRDS2_DEBUG)
endif()
if(ODA_RTP)
add_definitions(-DODA)
add_definitions(-DODA_RTP)