mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
parent
2bef057428
commit
82b2515af3
1 changed files with 1 additions and 1 deletions
|
|
@ -555,7 +555,7 @@ static void test_lossless_s16(void)
|
||||||
spa_assert_se(i == t);
|
spa_assert_se(i == t);
|
||||||
|
|
||||||
int32_t t2 = F32_TO_S32(v);
|
int32_t t2 = F32_TO_S32(v);
|
||||||
spa_assert_se(i<<16 == t2);
|
spa_assert_se((int32_t)(((uint32_t)i)<<16) == t2);
|
||||||
spa_assert_se(i == t2>>16);
|
spa_assert_se(i == t2>>16);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue