mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-27 11:54:44 +08:00
f89c1857b9
The sound and microphone redirection channels (and in part TSMF) did not properly decouple encoding/decoding from the backends used to play/record sound. Encapsulating encoding/decoding in rewritten freerdp_dsp_* functions with variable backends, simplifying alsa/oss/pulse/... audio backends.
14 lines
326 B
CMake
14 lines
326 B
CMake
|
|
find_path(LAME_INCLUDE_DIR lame/lame.h)
|
|
|
|
find_library(LAME_LIBRARY NAMES lame mp3lame)
|
|
|
|
find_package_handle_standard_args(LAME DEFAULT_MSG LAME_INCLUDE_DIR LAME_LIBRARY)
|
|
|
|
if (LAME_FOUND)
|
|
set(LAME_LIBRARIES ${LAME_LIBRARY})
|
|
set(LAME_INCLUDE_DIRS ${LAME_INCLUDE_DIR})
|
|
endif()
|
|
|
|
mark_as_advanced(LAME_INCLUDE_DIR LAME_LIBRARY)
|