Никак не могу статью найти про новшества в звуковой системы 8-й ветки, ни то на opennet, ни то на ЛОРе была, хотя бы по-русски.
Ладно, полез сам.
man snd
у меня 2016000, т.е. 2МГц, чё-то много. фиг знает, какое надо.hw.snd.feeder_rate_max
Maximum allowable sample rate.
Судя по всему, фильтрация при передискретизации. У меня 183040. Максимум неизвестен.hw.snd.feeder_rate_polyphase_max
Adjust to set the maximum number of allowed polyphase entries
during the process of building resampling filters. Disabling
polyphase resampling has the benefit of reducing memory usage, at
the expense of slower and lower quality conversion. Only appli?
cable when the SINC interpolator is used. Default value is
183040. Set to 0 to disable polyphase resampling.
Вроде как вид/качество интерполяции. По дефолту 1, т.е. линейная интерполяция. Ставлю 4, на слух ничерта не меняется. В 0 тоже.hw.snd.feeder_rate_quality
Sample rate converter quality. Default value is 1, linear inter?
polation. Available options include:
0 Zero Order Hold, ZOH. Very fast, but with poor quality.
1 Linear interpolation. Fast, quality is subject to personal
preference. Technically the quality is poor however, due to
the lack of anti-aliasing filtering.
2 Bandlimited SINC interpolator. Implements polyphase banking
to boost the conversion speed, at the cost of memory usage,
with multiple high quality polynomial interpolators to
improve the conversion accuracy. 100% fixed point, 64bit
accumulator with 32bit coefficients and high precision sample
buffering. Quality values are 100dB stopband, 8 taps and 85%
bandwidth.
3 Continuation of the bandlimited SINC interpolator, with 100dB
stopband, 36 taps and 90% bandwidth as quality values.
4 Continuation of the bandlimited SINC inteprolator, with 100dB
stopband, 164 taps and 97% bandwidth as quality values.
Похоже на приблежение частот дискретизации к близжайшим значениям. Не влияют.Sample rate rounding threshold, to avoid large prime division at
the cost of accuracy. All requested sample rates will be rounded
to the nearest threshold value. Possible values range between 0
(disabled) and 500. Default is 25.
Отключение обработки звука. Не влияет.dev.pcm.%d.bitperfect
Enable or disable bitperfect mode. When enabled, channels will
skip all dsp processing, such as channel matrixing, rate convert?
ing and equalizing. The pure sound stream will be fed directly
to the hardware. If VCHANs are enabled, the bitperfect mode will
use the VCHAN format/rate as the definitive format/rate target.
The recommended way to use bitperfect mode is to disable VCHANs
and enable this sysctl. Default is disabled.
Вроде всё, связанное непосредственно с качеством.
Не понимаю.