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

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

Issue 2645033002: Remove VoEExternalMedia interface. (Closed)
Patch Set: bad merge Created 3 years, 10 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
(Empty)
1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_VOICE_ENGINE_VOE_EXTERNAL_MEDIA_IMPL_H
12 #define WEBRTC_VOICE_ENGINE_VOE_EXTERNAL_MEDIA_IMPL_H
13
14 #include "webrtc/voice_engine/include/voe_external_media.h"
15
16 #include "webrtc/voice_engine/shared_data.h"
17
18 namespace webrtc {
19
20 class VoEExternalMediaImpl : public VoEExternalMedia {
21 public:
22 int RegisterExternalMediaProcessing(int channel,
23 ProcessingTypes type,
24 VoEMediaProcess& processObject) override;
25
26 int DeRegisterExternalMediaProcessing(int channel,
27 ProcessingTypes type) override;
28
29 int GetAudioFrame(int channel,
30 int desired_sample_rate_hz,
31 AudioFrame* frame) override;
32
33 int SetExternalMixing(int channel, bool enable) override;
34
35 protected:
36 VoEExternalMediaImpl(voe::SharedData* shared);
37 ~VoEExternalMediaImpl() override;
38
39 private:
40 voe::SharedData* shared_;
41 };
42
43 } // namespace webrtc
44
45 #endif // WEBRTC_VOICE_ENGINE_VOE_EXTERNAL_MEDIA_IMPL_H
OLDNEW
« no previous file with comments | « webrtc/voice_engine/transmit_mixer_unittest.cc ('k') | webrtc/voice_engine/voe_external_media_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698