mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-26 07:58:03 -04:00
spa: audioconvert: benchmark-fmt-ops: initialize convert
Since c02cdcb5ce ("audioconvert: add avx2 optimized s32_to f32d")
`conv_s32_to_f32d_avx2()` reads `convert::cpu_flags`, which was
previously unitiailized, fix that by setting it to 0.
This commit is contained in:
parent
39f4cbfc98
commit
22c1a16dce
1 changed files with 3 additions and 3 deletions
|
|
@ -51,9 +51,9 @@ static void run_test1(const char *name, const char *impl, bool in_packed, bool o
|
||||||
void *op[n_channels];
|
void *op[n_channels];
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
uint64_t count, t1, t2;
|
uint64_t count, t1, t2;
|
||||||
struct convert conv;
|
struct convert conv = {
|
||||||
|
.n_channels = n_channels,
|
||||||
conv.n_channels = n_channels;
|
};
|
||||||
|
|
||||||
for (j = 0; j < n_channels; j++) {
|
for (j = 0; j < n_channels; j++) {
|
||||||
ip[j] = &samp_in[j * n_samples * 4];
|
ip[j] = &samp_in[j * n_samples * 4];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue