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

Side by Side Diff: modules/audio_device/dummy/file_audio_device.h

Issue 3020493002: Remove AudioDeviceObserver and make ADM not inherit from the Module interface.
Patch Set: linux build error Created 3 years, 2 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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 int32_t SetStereoPlayout(bool enable) override; 125 int32_t SetStereoPlayout(bool enable) override;
126 int32_t StereoPlayout(bool& enabled) const override; 126 int32_t StereoPlayout(bool& enabled) const override;
127 int32_t StereoRecordingIsAvailable(bool& available) override; 127 int32_t StereoRecordingIsAvailable(bool& available) override;
128 int32_t SetStereoRecording(bool enable) override; 128 int32_t SetStereoRecording(bool enable) override;
129 int32_t StereoRecording(bool& enabled) const override; 129 int32_t StereoRecording(bool& enabled) const override;
130 130
131 // Delay information and control 131 // Delay information and control
132 int32_t PlayoutDelay(uint16_t& delayMS) const override; 132 int32_t PlayoutDelay(uint16_t& delayMS) const override;
133 int32_t RecordingDelay(uint16_t& delayMS) const override; 133 int32_t RecordingDelay(uint16_t& delayMS) const override;
134 134
135 bool PlayoutWarning() const override;
136 bool PlayoutError() const override;
137 bool RecordingWarning() const override;
138 bool RecordingError() const override;
139 void ClearPlayoutWarning() override;
140 void ClearPlayoutError() override;
141 void ClearRecordingWarning() override;
142 void ClearRecordingError() override;
143
144 void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override; 135 void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override;
145 136
146 private: 137 private:
147 static bool RecThreadFunc(void*); 138 static bool RecThreadFunc(void*);
148 static bool PlayThreadFunc(void*); 139 static bool PlayThreadFunc(void*);
149 bool RecThreadProcess(); 140 bool RecThreadProcess();
150 bool PlayThreadProcess(); 141 bool PlayThreadProcess();
151 142
152 int32_t _playout_index; 143 int32_t _playout_index;
153 int32_t _record_index; 144 int32_t _record_index;
(...skipping 19 matching lines...) Expand all
173 164
174 FileWrapper& _outputFile; 165 FileWrapper& _outputFile;
175 FileWrapper& _inputFile; 166 FileWrapper& _inputFile;
176 std::string _outputFilename; 167 std::string _outputFilename;
177 std::string _inputFilename; 168 std::string _inputFilename;
178 }; 169 };
179 170
180 } // namespace webrtc 171 } // namespace webrtc
181 172
182 #endif // AUDIO_DEVICE_FILE_AUDIO_DEVICE_H_ 173 #endif // AUDIO_DEVICE_FILE_AUDIO_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698