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

Side by Side Diff: webrtc/modules/audio_device/audio_device_data_observer.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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 #include "webrtc/modules/audio_device/include/audio_device_data_observer.h" 11 #include "webrtc/modules/audio_device/include/audio_device_data_observer.h"
12 #include "webrtc/rtc_base/checks.h" 12 #include "webrtc/base/checks.h"
13 #include "webrtc/rtc_base/refcountedobject.h" 13 #include "webrtc/base/refcountedobject.h"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 16
17 namespace { 17 namespace {
18 18
19 // A wrapper over AudioDeviceModule that registers itself as AudioTransport 19 // A wrapper over AudioDeviceModule that registers itself as AudioTransport
20 // callback and redirects the PCM data to AudioDeviceDataObserver callback. 20 // callback and redirects the PCM data to AudioDeviceDataObserver callback.
21 class ADMWrapper : public AudioDeviceModule, public AudioTransport { 21 class ADMWrapper : public AudioDeviceModule, public AudioTransport {
22 public: 22 public:
23 ADMWrapper(const int32_t id, 23 ADMWrapper(const int32_t id,
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 new rtc::RefCountedObject<ADMWrapper>(id, audio_layer, observer)); 375 new rtc::RefCountedObject<ADMWrapper>(id, audio_layer, observer));
376 376
377 if (!audio_device->IsValid()) { 377 if (!audio_device->IsValid()) {
378 return nullptr; 378 return nullptr;
379 } 379 }
380 380
381 return audio_device; 381 return audio_device;
382 } 382 }
383 383
384 } // namespace webrtc 384 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/audio_device_buffer.cc ('k') | webrtc/modules/audio_device/audio_device_generic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698