mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
audioconvert: Always apply noise when asked
Rename empty.noise -> dither.noise and always add this amount of noise when > 0. This also adds the noise to silent sounds, not only when nothing is connected because that would also be a problem when an amp needs to be kept alive with an non-0 signal. Rename noise -> dither because we can use this also for dithering later. See #705
This commit is contained in:
parent
abcf7cb8d8
commit
9f55708e9d
9 changed files with 107 additions and 68 deletions
|
|
@ -95,8 +95,8 @@ audioconvert_lib = static_library('audioconvert',
|
|||
'fmt-ops-c.c',
|
||||
'volume-ops.c',
|
||||
'volume-ops-c.c',
|
||||
'noise-ops.c',
|
||||
'noise-ops-c.c' ],
|
||||
'dither-ops.c',
|
||||
'dither-ops-c.c' ],
|
||||
c_args : [ simd_cargs, '-O3'],
|
||||
link_with : simd_dependencies,
|
||||
include_directories : [configinc],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue