From 9563f1ed440ce45e6e676051fbbfde92303a850d Mon Sep 17 00:00:00 2001 From: Philippe G Date: Sun, 14 Mar 2021 14:42:25 -0700 Subject: [PATCH] add 32 bits edition - release --- components/squeezelite/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/squeezelite/CMakeLists.txt b/components/squeezelite/CMakeLists.txt index 2925111b..65434582 100644 --- a/components/squeezelite/CMakeLists.txt +++ b/components/squeezelite/CMakeLists.txt @@ -33,8 +33,12 @@ set_source_files_properties(flac.c -Wno-maybe-uninitialized ) +if(${DEPTH} EQUAL "32") +add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=8) +else() add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DRESAMPLE16 -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=4) -# add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=8) +endif() + add_compile_options (-O3 )