Coder Social home page Coder Social logo

Comments (4)

philburk avatar philburk commented on August 15, 2024

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.

jsln avatar jsln commented on August 15, 2024

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.

philburk avatar philburk commented on August 15, 2024

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.

jsln avatar jsln commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.