Enable audio device test on android

Review URL: https://webrtc-codereview.appspot.com/428005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1829 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org 2012-03-02 17:12:14 +00:00
parent c868b99ff3
commit 3197d48407
3 changed files with 12 additions and 4 deletions

View File

@ -109,6 +109,14 @@
'android/audio_device_utility_android.h',
],
'conditions': [
['OS=="android"', {
'link_settings': {
'libraries': [
'-llog',
'-lOpenSLES',
],
},
}],
['OS=="linux"', {
'defines': [
'LINUX_ALSA',

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
* 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
@ -25,7 +25,7 @@ int func_test(int);
// main()
// ----------------------------------------------------------------------------
#if !defined(MAC_IPHONE) && !defined(ANDROID)
#if !defined(MAC_IPHONE)
int main(int /*argc*/, char* /*argv*/[])
{
func_test(0);

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
* 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
@ -45,7 +45,7 @@ struct AudioPacket
};
// Helper functions
#if !defined(MAC_IPHONE) && !defined(ANDROID)
#if !defined(MAC_IPHONE)
char* GetFilename(char* filename)
{
return filename;