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

Side by Side Diff: webrtc/modules/audio_device/include/audio_device.h

Issue 2700983002: Remove the Windows Wave audio device implementation. (Closed)
Patch Set: Remove kAudioWindowsWave (silly me only removing kWindowsWaveAudio). Created 3 years, 10 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
11 #ifndef MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_ 11 #ifndef MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_
12 #define MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_ 12 #define MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_
13 13
14 #include "webrtc/base/scoped_ref_ptr.h" 14 #include "webrtc/base/scoped_ref_ptr.h"
15 #include "webrtc/modules/audio_device/include/audio_device_defines.h" 15 #include "webrtc/modules/audio_device/include/audio_device_defines.h"
16 #include "webrtc/modules/include/module.h" 16 #include "webrtc/modules/include/module.h"
17 17
18 namespace webrtc { 18 namespace webrtc {
19 19
20 class AudioDeviceModule : public RefCountedModule { 20 class AudioDeviceModule : public RefCountedModule {
21 public: 21 public:
22 enum ErrorCode { 22 enum ErrorCode {
23 kAdmErrNone = 0, 23 kAdmErrNone = 0,
24 kAdmErrArgument = 1 24 kAdmErrArgument = 1
25 }; 25 };
26 26
27 enum AudioLayer { 27 enum AudioLayer {
28 kPlatformDefaultAudio = 0, 28 kPlatformDefaultAudio = 0,
29 kWindowsWaveAudio = 1,
30 kWindowsCoreAudio = 2, 29 kWindowsCoreAudio = 2,
31 kLinuxAlsaAudio = 3, 30 kLinuxAlsaAudio = 3,
32 kLinuxPulseAudio = 4, 31 kLinuxPulseAudio = 4,
33 kAndroidJavaAudio = 5, 32 kAndroidJavaAudio = 5,
34 kAndroidOpenSLESAudio = 6, 33 kAndroidOpenSLESAudio = 6,
35 kAndroidJavaInputAndOpenSLESOutputAudio = 7, 34 kAndroidJavaInputAndOpenSLESOutputAudio = 7,
36 kDummyAudio = 8 35 kDummyAudio = 8
37 }; 36 };
38 37
39 enum WindowsDeviceType { 38 enum WindowsDeviceType {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 virtual int GetRecordAudioParameters(AudioParameters* params) const = 0; 206 virtual int GetRecordAudioParameters(AudioParameters* params) const = 0;
208 #endif // WEBRTC_IOS 207 #endif // WEBRTC_IOS
209 208
210 protected: 209 protected:
211 ~AudioDeviceModule() override {} 210 ~AudioDeviceModule() override {}
212 }; 211 };
213 212
214 } // namespace webrtc 213 } // namespace webrtc
215 214
216 #endif // MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_ 215 #endif // MODULES_AUDIO_DEVICE_INCLUDE_AUDIO_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698