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

Side by Side Diff: webrtc/modules/audio_device/ios/audio_device_not_implemented_ios.mm

Issue 1254883002: Refactor the AudioDevice for iOS and improve the performance and stability (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Improved error handling and added support for BT headsets Created 5 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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/ios/audio_device_ios.h" 11 #include "webrtc/modules/audio_device/ios/audio_device_ios.h"
12 12
13 #include "webrtc/base/checks.h" 13 #include "webrtc/base/checks.h"
14 #include "webrtc/base/logging.h" 14 #include "webrtc/base/logging.h"
15 15
16 namespace webrtc { 16 namespace webrtc {
17 17
18 int32_t AudioDeviceIOS::PlayoutBuffer(AudioDeviceModule::BufferType& type,
19 uint16_t& sizeMS) const {
20 RTC_NOTREACHED() << "Not implemented";
21 return -1;
22 }
23
18 int32_t AudioDeviceIOS::ActiveAudioLayer( 24 int32_t AudioDeviceIOS::ActiveAudioLayer(
19 AudioDeviceModule::AudioLayer& audioLayer) const { 25 AudioDeviceModule::AudioLayer& audioLayer) const {
20 audioLayer = AudioDeviceModule::kPlatformDefaultAudio; 26 audioLayer = AudioDeviceModule::kPlatformDefaultAudio;
21 return 0; 27 return 0;
22 } 28 }
23 29
24 int32_t AudioDeviceIOS::ResetAudioDevice() { 30 int32_t AudioDeviceIOS::ResetAudioDevice() {
25 RTC_NOTREACHED() << "Not implemented"; 31 RTC_NOTREACHED() << "Not implemented";
26 return -1; 32 return -1;
27 } 33 }
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 RTC_NOTREACHED() << "Not implemented"; 283 RTC_NOTREACHED() << "Not implemented";
278 return -1; 284 return -1;
279 } 285 }
280 286
281 int32_t AudioDeviceIOS::CPULoad(uint16_t&) const { 287 int32_t AudioDeviceIOS::CPULoad(uint16_t&) const {
282 RTC_NOTREACHED() << "Not implemented"; 288 RTC_NOTREACHED() << "Not implemented";
283 return -1; 289 return -1;
284 } 290 }
285 291
286 } // namespace webrtc 292 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698