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 )