Convert CNG into C++ and remove it from AudioDecoder
Broke out CNG from AudioDecoder as they didn't really share an interface. Converted the CNG code to C++, to make initialization and resource handling easier. This includes several changes to the behavior, favoring RTC_CHECKs over returning error codes. Review URL: https://codereview.webrtc.org/1868143002 Cr-Commit-Position: refs/heads/master@{#12491}
This commit is contained in:
@ -147,9 +147,7 @@ source_set("cng") {
|
||||
sources = [
|
||||
"codecs/cng/audio_encoder_cng.cc",
|
||||
"codecs/cng/audio_encoder_cng.h",
|
||||
"codecs/cng/cng_helpfuns.c",
|
||||
"codecs/cng/cng_helpfuns.h",
|
||||
"codecs/cng/webrtc_cng.c",
|
||||
"codecs/cng/webrtc_cng.cc",
|
||||
"codecs/cng/webrtc_cng.h",
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user