OSS disable auto resample

Hi all,
any audio/musicpd user here?
How do iI disable auto resampling in musicpd?

Currently I'm using OSS to output sound to my external amplifier. I just dont want to musicpd to automatically resampe my audio file (wav) so I added into musicpd.conf:
Code:
audio_output {
  type  "oss"
  name  "CUongvt OSS Device"
  auto_resample "no"
However, in mpd log it keeps saying that:
Code:
config: option 'auto_resample' on line 224 was not recognized
Thanks and best regards.
 
I believe the solution is to edit
/etc/sysctl.conf

and set the value for resampling to 0, per the FreeBSD Handbook:
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.
https://www.freebsd.org/cgi/man.cgi?query=pcm&sektion=4
 
Back
Top