
CL also replaces deprecated AudioSession calls with equivalent AVAudioSession ones. BUG=3487 R=glaznev@webrtc.org, noahric@chromium.org Review URL: https://webrtc-codereview.appspot.com/21769004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6697 4adac7df-926f-26a2-2b94-8c16560cd09d
35 lines
956 B
C++
35 lines
956 B
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_H
|
|
#define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_UTILITY_H
|
|
|
|
#include "webrtc/typedefs.h"
|
|
|
|
namespace webrtc
|
|
{
|
|
|
|
class AudioDeviceUtility
|
|
{
|
|
public:
|
|
static uint32_t GetTimeInMS();
|
|
static void WaitForKey();
|
|
static bool StringCompare(const char* str1,
|
|
const char* str2,
|
|
const uint32_t length);
|
|
virtual int32_t Init() = 0;
|
|
|
|
virtual ~AudioDeviceUtility() {}
|
|
};
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_UTILITY_H
|