mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
filter-graph: compare with float to avoid conversion
This commit is contained in:
parent
fa52a596f4
commit
d093402d97
1 changed files with 1 additions and 1 deletions
|
|
@ -2823,7 +2823,7 @@ static void zeroramp_run(void * Instance, unsigned long SampleCount)
|
|||
if (impl->mode == 0) {
|
||||
/* normal mode, finding gaps */
|
||||
out[n] = in[n];
|
||||
if (in[n] == 0.0) {
|
||||
if (in[n] == 0.0f) {
|
||||
if (++impl->count == gap) {
|
||||
/* we found gap zeroes, fade out last
|
||||
* sample and go into zero mode */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue