
BUG=1662 R=xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1785005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4330 4adac7df-926f-26a2-2b94-8c16560cd09d
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
/*
|
|
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_UTILITY_IPHONE_H
|
|
#define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_UTILITY_IPHONE_H
|
|
|
|
#include "webrtc/modules/audio_device/audio_device_utility.h"
|
|
#include "webrtc/modules/audio_device/include/audio_device.h"
|
|
|
|
namespace webrtc {
|
|
class CriticalSectionWrapper;
|
|
|
|
class AudioDeviceUtilityIPhone: public AudioDeviceUtility {
|
|
public:
|
|
AudioDeviceUtilityIPhone(const int32_t id);
|
|
AudioDeviceUtilityIPhone();
|
|
virtual ~AudioDeviceUtilityIPhone();
|
|
|
|
virtual int32_t Init();
|
|
|
|
private:
|
|
CriticalSectionWrapper& _critSect;
|
|
int32_t _id;
|
|
AudioDeviceModule::ErrorCode _lastError;
|
|
};
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_UTILITY_IPHONE_H
|