Skip to content

Comment on MenuetOS

Comments

The reported audio latency, in the release note, is incredible:

  05.05.2022  1.42.20  Below millisecond audio latency (intelhda,audio.asm)
                     - 0.083 msec @ 192 khz, 24 bit (playback)
                     - 0.667 msec @ 48 khz, 16 bit (record)

Actually, it really isn't.

The numbers are not for through latency (-> audio interface -> cpu -> audio interface ->)

Instead they are for "half-duplex" latency (-> audio interface -> cpu OR cpu -> audio interface ->).

The 48kHz number represents a buffer size of 32 samples, which is entirely possible with Linux and macOS. The note also does not indicate how h/w specific these numbers are: there can be many h/w level issues with very low latency numbers that can't be solved by the OS (a classic example is a wifi chipset or video interface hogging the PCI bus for too long). On the "right" h/w, 32 samples for input latency is not really that remarkable.

What would be remarkable is if MenuetOS can get this performance from arbitrary intel hardware.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.