Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pulseaudio buffer on H3 audiocodec default sound device

Featured Replies

Hi,

 

Got an issue with some long latency/buffer on OrangePiPC. Legacy built kernel with RT (Armbian 5.32). 

The default output, Audiocodec Analog Stereo, exhibits a latency of about 500ms or somewhere there, it is actually a delayed play.

Other outputs do not have such latency, eg if I connect a USB audio device, it is just fine with only a few ms of latency.

If it was a generic setting that would have impact on the USB audio too, but it is not, USB audio plays without excessive latency.

Tried to set as low as I could the default-fragments (=8) and default-fragment-size-msec (=3) in /etc/pulse/daemon.conf to have 24msec of buffer but to no avail, still the same behaviour with latency of about 500ms.

 

Is there any way to decrease the buffer length or the overall latency of the default audiocodec in OrangePiPC ?

Is there some hardcoded buffer/latency just for the default audiocodec output in the Armbian built?

 

  • Author

Replying to my own topic,

it was just the old man not wearing his glasses.. forgot to specify the proper pulseaudio buffer in pa_simple_new and the system got the maximum latency default values.

 

 

  • Author

Ok,

 

It seems the old guy did put his glasses on and eliminated the buffer latency,  but..

there still remains a 'sink' latency whch I do not know how to tweak.

And it is quite significant for my purpose.

 

Does anyone know how that 'sink' latency gets changed in pulseaudio?

 

It is mentioned in the pulseaudio manager screenshot here

 

latency_sink.png

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.