mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
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:
parent
555fe2f9f5
commit
4fafd10a89
3 changed files with 74 additions and 44 deletions
|
|
@ -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[])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue