oboe
oboe copied to clipboard
Oboe is a C++ library that makes it easy to build high-performance audio apps on Android.
Some apps play short sounds, eg. 30 msec, by opening a file, playing the sound and then stopping the stream. In some cases the sound may never be heard. One...
Oboe looks at those system properties to determine whether MMAP is supported: https://github.com/google/oboe/blob/854e0d4ecb1f49cb84af41820182a6ef267e71f4/src/aaudio/AAudioExtensions.h#L46 Those system properties are going away as we transition to AIDL. So we need a fallback solution....
From code [AudioStreamAAudio::internalErrorCallback](https://github.com/google/oboe/blob/main/src/aaudio/AudioStreamAAudio.cpp#L138), it will try to promote the weak pointer to a shared pointer when there is an error callback. When the shared pointer exists, it will use the...
Make sure destructors do not call any virtual functions. They were reviewed on 2024-06-08. Only empty or default destructors found. Use "= default" in: src/common/FixedBlockAdapter.h src/common/MonotonicCounter.h src/opensles/AudioInputStreamOpenSLES.cpp Move "= default"...
Hello, I am trying to build an Android Mulitrack Player which supports Time Stretching and Pitch Shifting. In order to play multiple audio tracks simultaneously I chose Oboe and started...
Hi, First I want thanks google for creating this awesome project. I followed every step and looking in samples for days but after all the steps I am only able...
We may be able to eliminate the need for mInputCallCount variable if we define: ``` /***************************************************************************/ int32_t FlowGraphPortFloatInput::pullData(int32_t numFrames) { return (mConnected == nullptr) ? std::min(getFramesPerBuffer(), numFrames) : mConnected->pullData(mConnected.getLastCallCount() +...
Android version(s): any Android device(s): P8 Pro **Steps to reproduce** Trigger an automated latency test using: ``` adb shell am start -n com.mobileer.oboetester/.MainActivity --es test latency --ei buffer_bursts 7 \...
How to set the microphone direction in Oboe similar to audioRecord.setPreferredMicrophoneDirection()
Android version(s): 12 Oboe version: 1.8.1 In my app, I use `audioRecord.setPreferredMicrophoneDirection()` to set which microphone to use for recording. How can I achieve this in Oboe?