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

Side by Side Diff: content/renderer/media/webrtc_audio_device_not_impl.h

Issue 2225263003: Add missing methods to WebRtcAudioDeviceNotImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile. Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/renderer/media/webrtc_audio_device_not_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 const char pcm_file_name_utf8[webrtc::kAdmMaxFileNameSize]) override; 96 const char pcm_file_name_utf8[webrtc::kAdmMaxFileNameSize]) override;
97 int32_t StopRawInputFileRecording() override; 97 int32_t StopRawInputFileRecording() override;
98 int32_t SetRecordingSampleRate(const uint32_t samples_per_sec) override; 98 int32_t SetRecordingSampleRate(const uint32_t samples_per_sec) override;
99 int32_t SetPlayoutSampleRate(const uint32_t samples_per_sec) override; 99 int32_t SetPlayoutSampleRate(const uint32_t samples_per_sec) override;
100 int32_t ResetAudioDevice() override; 100 int32_t ResetAudioDevice() override;
101 int32_t SetLoudspeakerStatus(bool enable) override; 101 int32_t SetLoudspeakerStatus(bool enable) override;
102 int32_t GetLoudspeakerStatus(bool* enabled) const override; 102 int32_t GetLoudspeakerStatus(bool* enabled) const override;
103 int32_t SetAGC(bool enable) override; 103 int32_t SetAGC(bool enable) override;
104 bool AGC() const override; 104 bool AGC() const override;
105 bool BuiltInAECIsAvailable() const override; 105 bool BuiltInAECIsAvailable() const override;
106 bool BuiltInAGCIsAvailable() const override;
107 bool BuiltInNSIsAvailable() const override;
106 int32_t EnableBuiltInAEC(bool enable) override; 108 int32_t EnableBuiltInAEC(bool enable) override;
109 int32_t EnableBuiltInAGC(bool enable) override;
110 int32_t EnableBuiltInNS(bool enable) override;
111 #if defined(OS_IOS)
112 int GetPlayoutAudioParameters(AudioParameters* params) const override;
113 int GetRecordAudioParameters(AudioParameters* params) const override;
114 #endif // OS_IOS
107 115
108 protected: 116 protected:
109 ~WebRtcAudioDeviceNotImpl() override{}; 117 ~WebRtcAudioDeviceNotImpl() override{};
110 118
111 private: 119 private:
112 base::TimeTicks last_process_time_; 120 base::TimeTicks last_process_time_;
113 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioDeviceNotImpl); 121 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioDeviceNotImpl);
114 }; 122 };
115 123
116 } // namespace content 124 } // namespace content
117 125
118 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_ 126 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_DEVICE_NOT_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/webrtc_audio_device_not_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698