News for hackers. Stuff that matters.
Re:HaikuOS running on RISC-V hardware (HiFive Unmatched) by tialaramex on Sunday July 18, 2021 @11:01AM (#27873504)
People are weird about this. Because audio is ultimately a vibration moving through the air, latency is equivalent to distance because sound can only travel a few hundred metres per second.

So, 5ms is less than two metres. When COVID-19 forced you to stand a little further away from people, did you find it added "an eternity" of latency to everything? No? You barely noticed? Right.

One exercise that's interesting is you can build a physical loop (e.g. speaker plus microphone) and play with how long it takes samples to leave your software, turn into audio, then re-enter and come back to your software. You might find that to your disappointment a software stack may be giving you just 256 samples of latency but your hardware adds say 8 milliseconds on top of that.

This approach also helps you ensure you're doing apples to apples comparisons.

Re:HaikuOS running on RISC-V hardware (HiFive Unmatched) by snvzz on Sunday July 18, 2021 @12:35PM (#27874276)
Latency is the whole chain. That's Linux's latency, on top of everything else that could be there, such as however many meters of distance between speakers and listener in a live performance.

In no way is it acceptable for Linux to add 5ms to the chain.

Re:HaikuOS running on RISC-V hardware (HiFive Unmatched) by LoveLeadAcid on Sunday July 18, 2021 @04:45PM (#27876514)
Audio latency is only measured in the air once it leaves a transducer. You're comparing apples to oranges here and deliberately misunderstanding the issue.