diff --git a/src/voice_engine/main/test/auto_test/voe_standard_test.cc b/src/voice_engine/main/test/auto_test/voe_standard_test.cc index 13953671ab..3c6ee4efa7 100644 --- a/src/voice_engine/main/test/auto_test/voe_standard_test.cc +++ b/src/voice_engine/main/test/auto_test/voe_standard_test.cc @@ -147,9 +147,13 @@ const char* micFile = "/sdcard/audio_long16.pcm"; // File path is relative to the location of 'voice_engine.gyp'. const char* micFile = "../test/data/voice_engine/audio_long16.pcm"; #elif defined(WEBRTC_LINUX) +// Assumes launch from command line: $ ./out//audio_device_test_func const char* micFile = "./test/data/voice_engine/audio_long16.pcm"; #elif (defined(WEBRTC_MAC_INTEL) || defined(WEBRTC_MAC)) +// Assumes that the working directory in Xcode is set to /xcodebuild/. +const char* micFile = "../../test/data/voice_engine/audio_long16.pcm"; #else +const char* micFile = "audio_long16.pcm"; #endif #if !defined(MAC_IPHONE)