Skip to content

Commit

Permalink
Use WebRTC's audio_processing.h from api/audio
Browse files Browse the repository at this point in the history
audio_processing.h in /modules/audio_processing/include is not a
public interface.
  • Loading branch information
bear101 committed Nov 13, 2024
1 parent 8977d37 commit 9875c24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Library/TeamTalkLib/avstream/WebRTCPreprocess.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <mystd/MyStd.h>
#include <codec/MediaUtil.h>

#include <audio_processing.h>
#include <api/audio/audio_processing.h>


bool IsEnabled(const webrtc::AudioProcessing::Config& cfg);
Expand Down
2 changes: 0 additions & 2 deletions Library/TeamTalkLib/build/webrtc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ else()
endif()

file(MAKE_DIRECTORY ${WEBRTC_INSTALL_ROOT}/include)
file(MAKE_DIRECTORY ${WEBRTC_INSTALL_ROOT}/include/modules/audio_processing/include)
file(MAKE_DIRECTORY ${WEBRTC_INSTALL_ROOT}/include/third_party/abseil-cpp)
endif()

Expand All @@ -350,7 +349,6 @@ else()

target_include_directories (webrtc INTERFACE
${WEBRTC_INSTALL_ROOT}/include
${WEBRTC_INSTALL_ROOT}/include/modules/audio_processing/include
${WEBRTC_INSTALL_ROOT}/include/third_party/abseil-cpp)
set_target_properties(webrtc PROPERTIES
IMPORTED_LOCATION ${WEBRTC_INSTALL_ROOT}/obj/modules/audio_processing/libteamtalk.a)
Expand Down

0 comments on commit 9875c24

Please sign in to comment.