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

Side by Side Diff: webrtc/modules/audio_device/linux/audio_device_alsa_linux.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) 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 int32_t StopPlayout() override; 76 int32_t StopPlayout() override;
77 bool Playing() const override; 77 bool Playing() const override;
78 int32_t StartRecording() override; 78 int32_t StartRecording() override;
79 int32_t StopRecording() override; 79 int32_t StopRecording() override;
80 bool Recording() const override; 80 bool Recording() const override;
81 81
82 // Microphone Automatic Gain Control (AGC) 82 // Microphone Automatic Gain Control (AGC)
83 int32_t SetAGC(bool enable) override; 83 int32_t SetAGC(bool enable) override;
84 bool AGC() const override; 84 bool AGC() const override;
85 85
86 // Volume control based on the Windows Wave API (Windows only)
87 int32_t SetWaveOutVolume(uint16_t volumeLeft,
88 uint16_t volumeRight) override;
89 int32_t WaveOutVolume(uint16_t& volumeLeft,
90 uint16_t& volumeRight) const override;
91
92 // Audio mixer initialization 86 // Audio mixer initialization
93 int32_t InitSpeaker() override; 87 int32_t InitSpeaker() override;
94 bool SpeakerIsInitialized() const override; 88 bool SpeakerIsInitialized() const override;
95 int32_t InitMicrophone() override; 89 int32_t InitMicrophone() override;
96 bool MicrophoneIsInitialized() const override; 90 bool MicrophoneIsInitialized() const override;
97 91
98 // Speaker volume controls 92 // Speaker volume controls
99 int32_t SpeakerVolumeIsAvailable(bool& available) override; 93 int32_t SpeakerVolumeIsAvailable(bool& available) override;
100 int32_t SetSpeakerVolume(uint32_t volume) override; 94 int32_t SetSpeakerVolume(uint32_t volume) override;
101 int32_t SpeakerVolume(uint32_t& volume) const override; 95 int32_t SpeakerVolume(uint32_t& volume) const override;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 232
239 char _oldKeyState[32]; 233 char _oldKeyState[32];
240 #if defined(USE_X11) 234 #if defined(USE_X11)
241 Display* _XDisplay; 235 Display* _XDisplay;
242 #endif 236 #endif
243 }; 237 };
244 238
245 } 239 }
246 240
247 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_ALSA_LINUX_H_ 241 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_ALSA_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698