Comments (4)
Thanks for letting us know. I'm presuming from your path that you're on a Windows machine. I've tested on a Mac running OSX 10.13.2 and was unable to replicate.
It could be that the part of the CMakeLists.txt
which automatically clones the Oboe library is failing on Windows:
### INCLUDE OBOE LIBRARY ###
# Set the path to the Oboe library directory (may not exist yet)
set (OBOE_RELATIVE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../lib-oboe)
# Get the absolute path to the Oboe library directory
get_filename_component(OBOE_DIR
${OBOE_RELATIVE_PATH}
ABSOLUTE)
# If the Oboe library directory doesn't exist, clone it from github
if ((NOT EXISTS ${OBOE_DIR}) OR
(NOT EXISTS ${OBOE_DIR}/CMakeLists.txt))
execute_process(COMMAND git clone
https://github.com/google/oboe.git
${OBOE_DIR}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/..)
endif()
# Add the Oboe library as a subproject. Since Oboe is an out-of-tree source library we must also
# specify a binary directory
add_subdirectory(${OBOE_DIR} ./oboe)
Adding Gerry who might know of a fix.
Whilst we investigate a fix you can work around this problem by cloning oboe manually by doing:
cd C:/projects/android-audio-high-performance/oboe/
git clone https://github.com/google/oboe.git lib-oboe
from android-audio-high-performance.
@jmalsoftware, may you add more details, things like the steps you are using ( from clone to build project )?
tried twice on Windows 10: it builds and runs fine. But my windows machine is very slow, hope that is not the reason to make it pass.
Please update and I will take one more look. thanks.
my steps:
- make sure there is no directory of android-audio-high-performance
- clone https://github.com/googlesamples/android-audio-high-performance.git
- Open Android Studio 3.0.1 ( this is the version needed, but cmake error should not be caused by this )
- File > New > Import Project... navigate and select file "oboe\build.gradle" of the repo on your local disk
- select "OK" and then build the project.
assuming you have SDK/NDK all downloaded, and using Android Studio's CMake ( not the standalong CMake )
from android-audio-high-performance.
@jamlsoftware, just ping to see if you get chance to try it out again; kindly update us here. thx
from android-audio-high-performance.
closing this one as I could not see it. please re-open it if you still see the problem. Thx
from android-audio-high-performance.
Related Issues (20)
- [aaudio/hello-aaudio] leaks a thread in error callback HOT 1
- SimpleSynth doesn't compile because of errno HOT 2
- SimpleSynth should have a 10min timer to make it easy to comply with the CDD HOT 1
- SimpleSynth should be published on the Play store to make it easy to comply with the CDD HOT 1
- Keeping lib-oboe in synch HOT 3
- Recommended Android API/Library to use for simple Audio effects playback? HOT 1
- AudioManager set MODE_IN_COMMUNICATION mode cause AAUDIO_ERROR_DISCONNECTED HOT 1
- add oboe echo to retire all other echo samples HOT 2
- new logo / icon HOT 1
- SetPitch or SetRate HOT 1
- Cannot build SimpleSynth in AndroidStudio HOT 3
- Running echo on a Mate 20 Pro HOT 4
- AAudio samples should close their audio stream on pause (and open on resume) HOT 1
- Not working out-of-the-box as Android Studio AAudio sample project HOT 1
- i want to add delay in real time playback ... i have try this . i want to add delay like 2 second , 3 second and so on HOT 1
- [hello-oboe] fatal error: 'SLES/OpenSLES.h' file not found HOT 1
- [hello-oboe] Warning "Using custom NDK path (ANDROID_NDK is set):" HOT 1
- No c++ compiler optimizations? HOT 5
- Enable building Oboe from the command line HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-audio-high-performance.