Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1338)

Unified Diff: webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h

Issue 3003603002: Remove dead code (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h
diff --git a/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h b/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h
index 00d1c0f3e6d60206c8c9a991f1319c3f12223dcf..b4d9ef01e42b2e783b57d6d522d829bb6ea53bfa 100644
--- a/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h
+++ b/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.h
@@ -14,7 +14,6 @@
#include <memory>
#include "webrtc/api/audio_codecs/audio_encoder.h"
-#include "webrtc/api/audio_codecs/audio_format.h"
#include "webrtc/api/audio_codecs/g722/audio_encoder_g722_config.h"
#include "webrtc/modules/audio_coding/codecs/g722/g722_interface.h"
#include "webrtc/rtc_base/buffer.h"
@@ -26,18 +25,10 @@ struct CodecInst;
class AudioEncoderG722Impl final : public AudioEncoder {
public:
- static rtc::Optional<AudioEncoderG722Config> SdpToConfig(
- const SdpAudioFormat& format);
-
AudioEncoderG722Impl(const AudioEncoderG722Config& config, int payload_type);
explicit AudioEncoderG722Impl(const CodecInst& codec_inst);
- AudioEncoderG722Impl(int payload_type, const SdpAudioFormat& format);
~AudioEncoderG722Impl() override;
- static constexpr const char* GetPayloadName() { return "G722"; }
- static rtc::Optional<AudioCodecInfo> QueryAudioEncoder(
- const SdpAudioFormat& format);
-
int SampleRateHz() const override;
size_t NumChannels() const override;
int RtpTimestampRateHz() const override;

Powered by Google App Engine
This is Rietveld 408576698