[LAU] XanMod kernel
jeremy at autostatic.com
Tue Jun 9 17:27:59 CEST 2020
> My understanding is that ALSA placed a hard-coded limit on the
> snd-hrtimer of around 1024Hz a couple of years ago.
> The snd-hrtimer used to be able to be set very high frequencies
> until one day it wouldn't. I contacted ALSA and they told me
> about this new hard-coded limit.
> This sent me scrambling to re-order the midi timer preference
> in MusE because it seems the RTC timer is now the only timer
> that can give you anything above 1024Hz.
> Have I got this correct?
I checked sound/core/hrtimer.c of a current linux kernel source and I
don't see any limits of 1000 or 1024. And when I check on my system with
`cat /proc/asound/timers` I see the resolution of the system timer is
1000 µs, so 1 ms (which I think equals the 1000 HZ kernel setting I use)
while the HR timer has a resolution of 0.001 µs, so 1 ns. If I search
for .resolution in /proc/timer_list I see that same value, so 1 ns. So
my guess is that snd-hrtimer goes way beyond 1000 HZ and doesn't seem to
have a hard-coded limit of itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: OpenPGP digital signature
More information about the Linux-audio-user