% tst_bug.m
pkg load signal
fs = 22050;
s = sin(linspace(0,1000.*2*pi,fs+1));
sr = resample(s,48000,fs);
plot ((1:2205)./2205, s(1:2205), 'bo-'); hold on; plot ((1:4800)./4800, sr(1:4800), 'r*-');
xlim([0.37 0.39])

