mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
audioconvert: add unit test for format conversion
Add unit test for fmt conversion and fix some bugs Add empty fmt-ops benchmark
This commit is contained in:
parent
a1d45d2b25
commit
6f586602af
6 changed files with 362 additions and 47 deletions
|
|
@ -147,7 +147,7 @@ conv_s24_to_f32d_1_sse2(void *data, int n_dst, void *dst[n_dst], const void *src
|
|||
s += 12 * n_dst;
|
||||
}
|
||||
for(; n_samples--; n++) {
|
||||
out = _mm_cvtsi32_ss(out, READ24(s));
|
||||
out = _mm_cvtsi32_ss(out, read_s24(s));
|
||||
out = _mm_mul_ss(out, factor);
|
||||
_mm_store_ss(&d0[n], out);
|
||||
s += 3 * n_dst;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue