Comments (4)
It appears that AOSP on RPi5 for HifiBerry does not support the low-latency "FAST TRACK" audio mode.
So Oboe cannot provide it.
Are you using KonstaKang? If so then perhaps they could be convinced to support this.
Have you tried a USB Audio interface?
from oboe.
Hi @philburk , I observe a requested buffer by the audio driver of 960 samples (20ms). My understading is that not having FAST TRACK prevents us from getting smaller buffers, am I right?
However, initially that should not be a problem for us, around 20/30 ms should be good, the real problem is that the output is produced very consistently (with low jitter) with 120/125 ms delay. Could this also be explained by not having FAST TRACK implemented?
I guess USB audio would introduce other sources of latency, right? I have not tried this. Also the observed latency would depend on the USB hardware, it would be much easier to provide a HifiBerry with 3.5mm output. Furthermore, my measurement setup is much easier by plugging a scope to a 3.5 jack output.
Thanks!
from oboe.
My understading is that not having FAST TRACK prevents us from getting smaller buffers, am I right?
Right. 20 ms buffers is typical for NON-FAST tracks.
120/125 ms delay. Could this also be explained by not having FAST TRACK implemented?
Yes. The FAST track is designed to provide lower latency. Typically 15-40 msec for output.
USB audio would introduce other sources of latency, right?
It can. A USB-to-3.5mm adapter can add 2-50 msec, depending on the Manufacturer.
The simple Google adapter only adds 2-3 msec.
Some other adapters have fancy echo cancellation and processing that adds 4-50 msec.
Generally, USB audio interfaces like a Presonus 26C usually only add about 2 msec.
I see that you are discussing this on the raspberry-vanilla site. That is the right place to ask.
from oboe.
Thanks for your help, @philburk , I will try with the simple Google adapter, and continue the discussion in the raspberry-vanilla site.
from oboe.
Related Issues (20)
- sample Buzzing and low pitched HOT 3
- Builds with 16 KB page size HOT 4
- Add Intent for starting TEST DISCONNECT for automation HOT 1
- OboeTester: when Data Paths fails, save a WAV file recording
- OboeTester DataPaths fails intermittently when converting sample rate
- OboeTester: long tests should show running tally of pass/fail
- We should update docs/AndroidAudioHistory.md
- Question: How to find out if Oboe is performing Sample Rate Conversion? HOT 2
- Is there any way to detach a faulty oboe program or insufficient memory for it to process? HOT 4
- Can't get Low Latency HOT 2
- LiveEffect sample: is there any way to get input stream from default/incoming VOIP call audio source instead of only microphone HOT 4
- OpenSL can hang if callback returns DataCallbackResult::Stop HOT 1
- Glitch in background, exclusive mode HOT 7
- Add a foreground service to OboeTester
- OboeTester channel frequencies are too high for ChannelMask 7.1.4
- OboeTester Data Paths test failing intermittently HOT 1
- VoIP use case and Low Latency HOT 1
- FilterAudioStream doesn't round frames written and read properly. HOT 1
- Update samples to 16kb page sizes
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 oboe.