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

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

Issue 3006793002: Removes unused WaveOut APIs from ADM (Closed)
Patch Set: 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) 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 int32_t StopPlayout() override; 83 int32_t StopPlayout() override;
84 bool Playing() const override; 84 bool Playing() const override;
85 int32_t StartRecording() override; 85 int32_t StartRecording() override;
86 int32_t StopRecording() override; 86 int32_t StopRecording() override;
87 bool Recording() const override; 87 bool Recording() const override;
88 88
89 // Microphone Automatic Gain Control (AGC) 89 // Microphone Automatic Gain Control (AGC)
90 int32_t SetAGC(bool enable) override; 90 int32_t SetAGC(bool enable) override;
91 bool AGC() const override; 91 bool AGC() const override;
92 92
93 // Volume control based on the Windows Wave API (Windows only)
94 int32_t SetWaveOutVolume(uint16_t volumeLeft, uint16_t volumeRight) override;
95 int32_t WaveOutVolume(uint16_t& volumeLeft,
96 uint16_t& volumeRight) const override;
97
98 // Audio mixer initialization 93 // Audio mixer initialization
99 int32_t InitSpeaker() override; 94 int32_t InitSpeaker() override;
100 bool SpeakerIsInitialized() const override; 95 bool SpeakerIsInitialized() const override;
101 int32_t InitMicrophone() override; 96 int32_t InitMicrophone() override;
102 bool MicrophoneIsInitialized() const override; 97 bool MicrophoneIsInitialized() const override;
103 98
104 // Speaker volume controls 99 // Speaker volume controls
105 int32_t SpeakerVolumeIsAvailable(bool& available) override; 100 int32_t SpeakerVolumeIsAvailable(bool& available) override;
106 int32_t SetSpeakerVolume(uint32_t volume) override; 101 int32_t SetSpeakerVolume(uint32_t volume) override;
107 int32_t SpeakerVolume(uint32_t& volume) const override; 102 int32_t SpeakerVolume(uint32_t& volume) const override;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 188
194 FileWrapper& _outputFile; 189 FileWrapper& _outputFile;
195 FileWrapper& _inputFile; 190 FileWrapper& _inputFile;
196 std::string _outputFilename; 191 std::string _outputFilename;
197 std::string _inputFilename; 192 std::string _inputFilename;
198 }; 193 };
199 194
200 } // namespace webrtc 195 } // namespace webrtc
201 196
202 #endif // WEBRTC_AUDIO_DEVICE_FILE_AUDIO_DEVICE_H 197 #endif // WEBRTC_AUDIO_DEVICE_FILE_AUDIO_DEVICE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698