resample-native: cleanups

Add some comments, reorganize for better readability
More alignment of filter and history
Add some more test
This commit is contained in:
Wim Taymans 2019-03-27 11:23:52 +01:00
parent 555fe2f9f5
commit 4fafd10a89
3 changed files with 74 additions and 44 deletions

View file

@ -67,15 +67,16 @@ static void test_native(void)
r.channels = 1;
r.i_rate = 44100;
r.o_rate = 44100;
impl_native_init(&r);
feed_1(&r);
r.channels = 1;
r.i_rate = 44100;
r.o_rate = 48000;
impl_native_init(&r);
feed_1(&r);
}
int main(int argc, char *argv[])