[alsa-devel] maximum tolerable sampling frequency difference for a driver

chri chripell at gmail.com
Tue Nov 11 17:17:00 CET 2008

Let's say that the driver cannot set the exact sampling frequency
asked via hwparms but something near (because of the granularity of
the result of the clock division). What is the maximum difference that
should be accepted (in Hz or in %)? I guess that there are 2 factors
playing a role:

1) if the frequency is too different then the upper layers report a

2) the sound just doesn't sound good (just a bit too presto or too adagio)

So what difference should be accepted instead of returning -EINVAL?


Christian Pellegrin, see http://www.evolware.org/chri/
"Real Programmers don't play tennis, or any other sport which requires
you to change clothes. Mountain climbing is OK, and Real Programmers
wear their climbing boots to work in case a mountain should suddenly
spring up in the middle of the computer room."

More information about the Alsa-devel mailing list