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

Side by Side Diff: webrtc/modules/audio_device/linux/audio_device_pulse_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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 int32_t StopPlayout() override; 138 int32_t StopPlayout() override;
139 bool Playing() const override; 139 bool Playing() const override;
140 int32_t StartRecording() override; 140 int32_t StartRecording() override;
141 int32_t StopRecording() override; 141 int32_t StopRecording() override;
142 bool Recording() const override; 142 bool Recording() const override;
143 143
144 // Microphone Automatic Gain Control (AGC) 144 // Microphone Automatic Gain Control (AGC)
145 int32_t SetAGC(bool enable) override; 145 int32_t SetAGC(bool enable) override;
146 bool AGC() const override; 146 bool AGC() const override;
147 147
148 // Volume control based on the Windows Wave API (Windows only)
149 int32_t SetWaveOutVolume(uint16_t volumeLeft,
150 uint16_t volumeRight) override;
151 int32_t WaveOutVolume(uint16_t& volumeLeft,
152 uint16_t& volumeRight) const override;
153
154 // Audio mixer initialization 148 // Audio mixer initialization
155 int32_t InitSpeaker() override; 149 int32_t InitSpeaker() override;
156 bool SpeakerIsInitialized() const override; 150 bool SpeakerIsInitialized() const override;
157 int32_t InitMicrophone() override; 151 int32_t InitMicrophone() override;
158 bool MicrophoneIsInitialized() const override; 152 bool MicrophoneIsInitialized() const override;
159 153
160 // Speaker volume controls 154 // Speaker volume controls
161 int32_t SpeakerVolumeIsAvailable(bool& available) override; 155 int32_t SpeakerVolumeIsAvailable(bool& available) override;
162 int32_t SetSpeakerVolume(uint32_t volume) override; 156 int32_t SetSpeakerVolume(uint32_t volume) override;
163 int32_t SpeakerVolume(uint32_t& volume) const override; 157 int32_t SpeakerVolume(uint32_t& volume) const override;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 pa_buffer_attr _playBufferAttr; 362 pa_buffer_attr _playBufferAttr;
369 pa_buffer_attr _recBufferAttr; 363 pa_buffer_attr _recBufferAttr;
370 364
371 char _oldKeyState[32]; 365 char _oldKeyState[32];
372 Display* _XDisplay; 366 Display* _XDisplay;
373 }; 367 };
374 368
375 } 369 }
376 370
377 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_PULSE_LINUX_H_ 371 #endif // MODULES_AUDIO_DEVICE_MAIN_SOURCE_LINUX_AUDIO_DEVICE_PULSE_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698