Change interpolation to polyphase

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2016-12-03 14:27:26 +00:00
parent d3df928cae
commit 462261e781

View File

@@ -253,7 +253,8 @@ int playWav(const char *wav)
fread(buffer2, 1, buffer_size, file);
ndspChnReset(CHANNEL);
ndspChnWaveBufClear(CHANNEL);
ndspChnSetInterp(CHANNEL, NDSP_INTERP_LINEAR);
/* Polyphase sounds much better than linear or no interpolation */
ndspChnSetInterp(CHANNEL, NDSP_INTERP_POLYPHASE);
ndspChnSetRate(CHANNEL, sample);
ndspChnSetFormat(CHANNEL, bitness);