project (g722_codec)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

# G.722 from Asterisk (codecs/g722): Steve Underwood's spandsp code, which he
# placed in the public domain, on top of the CMU 1993 codec, whose use "for
# any research or commercial purpose, is completely unrestricted". See README.md.
set (G722_SOURCES
    g722_decode.c
    g722_encode.c
)

add_library(g722_codec ${G722_SOURCES})
