Jump to content

Recommended Posts

Posted

I run a audio loop code on a Raspberry pi 4/5 and Orange Pi 5.

The latency of audio loop is 0.2 seconds on Raspberry pi but on orange pi it takes 1.2 seconds.

For orange pi, i am facing this problem with different Operating systems as well apart from armbian. I've used Ubuntu, Orange Pi OS, Armbian. All have got this problem. The code I have attached. Since the issue is faced in multiple Operating System I strongly feel this has to do with the driver level softwares or directly related optimization from Rockchip.

 

Can anyone guide what I could do

audio-loop.cpp

Posted

Which kernel? The 5.10 kernel has known issues with USB audio, the 6.1 vendor kernel should work correctly.

Further a realtime kernel might help and set pulseaudio at rt priority. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines