RentACodec: New class that takes over part of ACMCodecDB's job

Following CLs will finish the takeover completely. After that,
RentACodec will also start creating and owning codecs, at which point
its name will start making sense.

BUG=webrtc:5028

Review URL: https://codereview.webrtc.org/1412683006

Cr-Commit-Position: refs/heads/master@{#10432}
This commit is contained in:
kwiberg
2015-10-27 11:40:24 -07:00
committed by Commit bot
parent 77d0d6e858
commit fce4a945b8
11 changed files with 418 additions and 267 deletions

View File

@ -42,6 +42,30 @@
],
},
'targets': [
{
'target_name': 'rent_a_codec',
'type': 'static_library',
'defines': [
'<@(audio_coding_defines)',
],
'dependencies': [
'<(webrtc_root)/common.gyp:webrtc_common',
],
'include_dirs': [
'<(webrtc_root)',
],
'direct_dependent_settings': {
'include_dirs': [
'<(webrtc_root)',
],
},
'sources': [
'acm2/acm_codec_database.cc',
'acm2/acm_codec_database.h',
'acm2/rent_a_codec.cc',
'acm2/rent_a_codec.h',
],
},
{
'target_name': 'audio_coding_module',
'type': 'static_library',
@ -53,6 +77,7 @@
'<(webrtc_root)/common.gyp:webrtc_common',
'<(webrtc_root)/webrtc.gyp:rtc_event_log',
'neteq',
'rent_a_codec',
],
'include_dirs': [
'interface',
@ -67,8 +92,6 @@
],
},
'sources': [
'acm2/acm_codec_database.cc',
'acm2/acm_codec_database.h',
'acm2/acm_common_defs.h',
'acm2/acm_receiver.cc',
'acm2/acm_receiver.h',