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

Side by Side Diff: webrtc/voice_engine/voe_codec_impl.h

Issue 2772773002: Adding cbr support for Opus (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 bool& enabled, 53 bool& enabled,
54 VadModes& mode, 54 VadModes& mode,
55 bool& disabledDTX) override; 55 bool& disabledDTX) override;
56 56
57 int SetOpusMaxPlaybackRate(int channel, int frequency_hz) override; 57 int SetOpusMaxPlaybackRate(int channel, int frequency_hz) override;
58 58
59 int SetOpusDtx(int channel, bool enable_dtx) override; 59 int SetOpusDtx(int channel, bool enable_dtx) override;
60 60
61 int GetOpusDtxStatus(int channel, bool* enabled) override; 61 int GetOpusDtxStatus(int channel, bool* enabled) override;
62 62
63 int SetOpusCbr(int channel, bool enable_cbr) override;
64
65 int GetOpusCbrStatus(int channel, bool* enabled) override;
66
63 protected: 67 protected:
64 VoECodecImpl(voe::SharedData* shared); 68 VoECodecImpl(voe::SharedData* shared);
65 ~VoECodecImpl() override; 69 ~VoECodecImpl() override;
66 70
67 private: 71 private:
68 voe::SharedData* _shared; 72 voe::SharedData* _shared;
69 }; 73 };
70 74
71 } // namespace webrtc 75 } // namespace webrtc
72 76
73 #endif // WEBRTC_VOICE_ENGINE_VOE_CODEC_IMPL_H 77 #endif // WEBRTC_VOICE_ENGINE_VOE_CODEC_IMPL_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698