Jump to content

Pulseaudio buffer on H3 audiocodec default sound device


Christos

Recommended Posts

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?

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines