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

Side by Side Diff: webrtc/modules/audio_device/dummy/audio_device_dummy.h

Issue 3006803002: Removes unused APIs from the ADM (part II) (Closed)
Patch Set: nit Created 3 years, 3 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool SpeakerIsInitialized() const override; 74 bool SpeakerIsInitialized() const override;
75 int32_t InitMicrophone() override; 75 int32_t InitMicrophone() override;
76 bool MicrophoneIsInitialized() const override; 76 bool MicrophoneIsInitialized() const override;
77 77
78 // Speaker volume controls 78 // Speaker volume controls
79 int32_t SpeakerVolumeIsAvailable(bool& available) override; 79 int32_t SpeakerVolumeIsAvailable(bool& available) override;
80 int32_t SetSpeakerVolume(uint32_t volume) override; 80 int32_t SetSpeakerVolume(uint32_t volume) override;
81 int32_t SpeakerVolume(uint32_t& volume) const override; 81 int32_t SpeakerVolume(uint32_t& volume) const override;
82 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override; 82 int32_t MaxSpeakerVolume(uint32_t& maxVolume) const override;
83 int32_t MinSpeakerVolume(uint32_t& minVolume) const override; 83 int32_t MinSpeakerVolume(uint32_t& minVolume) const override;
84 int32_t SpeakerVolumeStepSize(uint16_t& stepSize) const override;
85 84
86 // Microphone volume controls 85 // Microphone volume controls
87 int32_t MicrophoneVolumeIsAvailable(bool& available) override; 86 int32_t MicrophoneVolumeIsAvailable(bool& available) override;
88 int32_t SetMicrophoneVolume(uint32_t volume) override; 87 int32_t SetMicrophoneVolume(uint32_t volume) override;
89 int32_t MicrophoneVolume(uint32_t& volume) const override; 88 int32_t MicrophoneVolume(uint32_t& volume) const override;
90 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override; 89 int32_t MaxMicrophoneVolume(uint32_t& maxVolume) const override;
91 int32_t MinMicrophoneVolume(uint32_t& minVolume) const override; 90 int32_t MinMicrophoneVolume(uint32_t& minVolume) const override;
92 int32_t MicrophoneVolumeStepSize(uint16_t& stepSize) const override;
93 91
94 // Speaker mute control 92 // Speaker mute control
95 int32_t SpeakerMuteIsAvailable(bool& available) override; 93 int32_t SpeakerMuteIsAvailable(bool& available) override;
96 int32_t SetSpeakerMute(bool enable) override; 94 int32_t SetSpeakerMute(bool enable) override;
97 int32_t SpeakerMute(bool& enabled) const override; 95 int32_t SpeakerMute(bool& enabled) const override;
98 96
99 // Microphone mute control 97 // Microphone mute control
100 int32_t MicrophoneMuteIsAvailable(bool& available) override; 98 int32_t MicrophoneMuteIsAvailable(bool& available) override;
101 int32_t SetMicrophoneMute(bool enable) override; 99 int32_t SetMicrophoneMute(bool enable) override;
102 int32_t MicrophoneMute(bool& enabled) const override; 100 int32_t MicrophoneMute(bool& enabled) const override;
103 101
104 // Microphone boost control
105 int32_t MicrophoneBoostIsAvailable(bool& available) override;
106 int32_t SetMicrophoneBoost(bool enable) override;
107 int32_t MicrophoneBoost(bool& enabled) const override;
108
109 // Stereo support 102 // Stereo support
110 int32_t StereoPlayoutIsAvailable(bool& available) override; 103 int32_t StereoPlayoutIsAvailable(bool& available) override;
111 int32_t SetStereoPlayout(bool enable) override; 104 int32_t SetStereoPlayout(bool enable) override;
112 int32_t StereoPlayout(bool& enabled) const override; 105 int32_t StereoPlayout(bool& enabled) const override;
113 int32_t StereoRecordingIsAvailable(bool& available) override; 106 int32_t StereoRecordingIsAvailable(bool& available) override;
114 int32_t SetStereoRecording(bool enable) override; 107 int32_t SetStereoRecording(bool enable) override;
115 int32_t StereoRecording(bool& enabled) const override; 108 int32_t StereoRecording(bool& enabled) const override;
116 109
117 // Delay information and control 110 // Delay information and control
118 int32_t SetPlayoutBuffer(const AudioDeviceModule::BufferType type,
119 uint16_t sizeMS) override;
120 int32_t PlayoutBuffer(AudioDeviceModule::BufferType& type,
121 uint16_t& sizeMS) const override;
122 int32_t PlayoutDelay(uint16_t& delayMS) const override; 111 int32_t PlayoutDelay(uint16_t& delayMS) const override;
123 int32_t RecordingDelay(uint16_t& delayMS) const override; 112 int32_t RecordingDelay(uint16_t& delayMS) const override;
124 113
125 // CPU load
126 int32_t CPULoad(uint16_t& load) const override;
127
128 bool PlayoutWarning() const override; 114 bool PlayoutWarning() const override;
129 bool PlayoutError() const override; 115 bool PlayoutError() const override;
130 bool RecordingWarning() const override; 116 bool RecordingWarning() const override;
131 bool RecordingError() const override; 117 bool RecordingError() const override;
132 void ClearPlayoutWarning() override; 118 void ClearPlayoutWarning() override;
133 void ClearPlayoutError() override; 119 void ClearPlayoutError() override;
134 void ClearRecordingWarning() override; 120 void ClearRecordingWarning() override;
135 void ClearRecordingError() override; 121 void ClearRecordingError() override;
136 122
137 void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override; 123 void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override;
138 }; 124 };
139 125
140 } // namespace webrtc 126 } // namespace webrtc
141 127
142 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_DUMMY_H 128 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_DUMMY_H
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/audio_device_impl.cc ('k') | webrtc/modules/audio_device/dummy/audio_device_dummy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698