1 Rate Converter Plugin Using Libsamplerate
2 =========================================
4 The plugin in rate subdirectory is an external rate converter using
5 libsamplerate by Erik de Castro Lopo. You can use this rate converter
6 plugin by defining a rate PCM with "converter" parameter, such as:
11 converter "samplerate"
14 The plug plugin has also a similar field, "rate_converter".
16 Or, more easily, define a global variable "defaults.pcm.rate_converter",
17 which is used as the default converter type by plug and rate plugins:
19 defaults.pcm.rate_converter "samplerate"
21 Write the above in your ~/.asoundrc or /etc/asound.conf.
23 The following converter types are available:
25 - samplerate_best Use SRC_SINC_BEST_QUALITY
26 - samplerate_medium Use SRC_SINC_MEDIUM_QUALITY
27 - samplerate Use SRC_SINC_FASTEST
28 - samplerate_order Use SRC_ZERO_ORDER_HOLD
29 - samplerate_linear Use SRC_LINEAR