Commit ab4a7998 authored by Ghislain MARY's avatar Ghislain MARY

Add option to enable build of G.726 codec.

parent 1a0a83cb
......@@ -52,6 +52,7 @@ if(IOS)
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_STRICT=NO")
endif()
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_G726=${ENABLE_G726}")
list(APPEND EP_ms2_CMAKE_OPTIONS "-DENABLE_GSM=${ENABLE_GSM}")
if(ENABLE_GSM AND LINPHONE_BUILDER_BUILD_DEPENDENCIES)
list(APPEND EP_ms2_DEPENDENCIES EP_gsm)
......
......@@ -68,6 +68,7 @@ endif()
ms2_add_option("Codec2" "Codec2 audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_CODEC2}")
ms2_add_strict_dependent_option("G729" "G.729 audio encoding/decoding support (require license)." OFF ON OFF "ENABLE_NON_FREE_CODECS" "non free codecs option not enabled (ENABLE_NON_FREE_CODECS).")
ms2_add_strict_dependent_option("G729B CNG" "G.729 annex B confort noise generation (require license)." OFF ON OFF "ENABLE_NON_FREE_CODECS" "non free codecs option not enabled (ENABLE_NON_FREE_CODECS).")
ms2_add_option("G726" "G.726 audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_G726}")
ms2_add_option("GSM" "GSM audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_GSM}")
ms2_add_option("iLBC" "iLBC audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_ILBC}")
ms2_add_option("ISAC" "ISAC audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_ISAC}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment