Questions tagged [oboe]

Oboe is a C++ library for creating real-time audio apps on Android.

Oboe is a C++ library for creating real-time audio apps on Android. It uses AAudio on Android API 27 and above, falling back to OpenSL ES on older devices.

The purpose of Oboe is to provide a simple, easy to use API for developers to build low latency, real-time audio apps on Android. It's open source and maintained by Google engineers.

This tag should be used for all questions relating to Oboe, although please check the FAQ before posting.

84 questions
1
vote
1 answer

unknown warning option '-Wshadow-field' error using Oboe on android studio

I've created a ndk project using android studio and every think goes fine and I can launch my app on emulator without any problem. But when I add Oboe library to my project this error comes up when I try to launch or build my app. I'm using c++14…
Soroosh
  • 543
  • 1
  • 4
  • 21
1
vote
3 answers

Can i use Google Oboe or AAudio in iOS ? https://github.com/google/oboe

I want to use C++ library which makes it easy to build high-performance audio apps https://github.com/google/oboe Google Oboe seems for Android can i somehow use it for iOS also ? or any similar alternative for iOS ? I don't want to use Superpowered…
Kathan Shah
  • 1,655
  • 17
  • 25
1
vote
1 answer

How to get smaller buffer size in multi-channel audio application with Oboe

I'm using Oboe 1.2 in an audio android application. When I call getFramesPerBurst(), which gives the endpoint buffer size, I get expected results (240 frames) if the number of output channels is set to 2. However when I set 4 output channels, the…
Nitenq
  • 193
  • 12
1
vote
1 answer

How to load multiple sound with Oboe

I have some issue with Oboe when I trying to load more than 90 - 100 sounds the app Crash with : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 32081 (AudioTrack), pid 32003 I have test to play only one of them all and all…
1
vote
2 answers

How to read data from multiple microphones using Android's Oboe/AAudio

I'm interesting in accessing both microphone on a phone using the Android Oboe library. Most phones have a dual-mic configuration and I'd like to read data from both at the same time. I've extended the "LiveAffect" sample from Oboe, and tried the…
Artash
  • 569
  • 6
  • 11
1
vote
1 answer

How to amplify Audio Data in Oboe onAudioReady Method?

I want to amplify the audioData that is recorded by microphone using Oboe Library. I created AudioEngine.cpp like this: https://github.com/google/oboe/blob/master/samples/LiveEffect/src/main/cpp/LiveEffectEngine.cpp Here's is the class that has…
Jazib Khan
  • 408
  • 4
  • 13
1
vote
1 answer

Android oboe - How to change rate / frequency of a AudioStream after it has been opened

When working with Android SoundPool you can alter the playback rate with the following API and adjusting the rate: SoundPool play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) My question is how to do so…
TomV
  • 1,157
  • 1
  • 13
  • 25
1
vote
1 answer

Android oboe library clicks at the start / end of a sound

I'm using oboe library in my app to generate sound. Their example SineGenerator is pretty much exactly what I need, just a simple sine wave that generates a frequency that I need. This generated sine wave is later user in the PlayAudioEngine. The…
Stefan
  • 700
  • 10
  • 22
1
vote
2 answers

Underrun in Oboe/AAudio playback stream

I'm working on an Android app dealing with a device which is basically a USB microphone. I need to read the input data and process it. Sometimes, I need to send data the device (4 shorts * the number of channels which is usually 2) and this data…
loics2
  • 616
  • 1
  • 10
  • 24
1
vote
1 answer

Android Oboe library is laggy on a few devices

In my Android app, I use the Oboe library and the Vorbisfile library to extract, process and redirect audio samples to the audio output. To keep it simple, here is a quick overview of what I've been doing (using the hello-oboe example here)…
matteoh
  • 2,810
  • 2
  • 29
  • 54
1
vote
1 answer

Build Android OBOE using Android.mk

I have gone through the documentation of the Android C++ high performance audio library: OBOE. There is no documentation on how to add the library to an Android project that uses an Android.mk build type. I am looking for ideas on how to implement…
0
votes
0 answers

By not providing "Findoboe.cmake" in CMAKE_MODULE_PATH

android/CMakeLists.txt : C/C++ debug|x86_64 : CMake Error at /root/UAC/nokia-team-comms/R2/ntc-ue-app/plugin/ntc-client/uac/android/CMakeLists.txt:6 (find_package): By not providing "Findoboe.cmake" in CMAKE_MODULE_PATH this project has …
user1455589
  • 19
  • 1
  • 4
0
votes
0 answers

Incomplete information in stack trace in Firebase Crashlytics NDK?

I’ve just added Firebase Crashlytics NDK to my Android project. I need it as I’m using Oboe (the C++ library for high-performance audio). I’ve followed all the steps in the documentation, and I’m able to see the issues in Firebase Crashlytics when I…
MatJB
  • 106
  • 2
  • 8
0
votes
1 answer

Issue using Oboe library to generate sound in Android Studio

I'm trying to use the Oboe library to generate sound in my Android Studio project, but I'm having some issues. I followed this documentation https://github.com/google/oboe/blob/main/docs/FullGuide.md and I wrote this code that supposed to play a…
cs_guy98
  • 3
  • 2
0
votes
0 answers

Can't build RustDesk - Android

I tried to build RustDesk project following documentation at documentation - android build After executing: VCPKG_ROOT=/opt/vcpkg ANDROID_NDK_HOME=/opt/android-ndk-r22b flutter/ndk_arm64.sh I cp-ed vcpkg and android-ndk-r22b from home to /opt to…
Pan Michal
  • 177
  • 1
  • 3
  • 15