mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-18 03:18:07 +02:00
The isinf function returns -1 for negative infinity on glibc, but the standard guarantees no such behavior (e.g. in C++ it always returns a bool, on musl libc it's a macro that expands to a bool expression), saying just that it returns a non-zero value. This was added in pulseaudio around 15 years ago, and was never fixed; pipewire then got the code from it. However, we can portably check against -INFINITY instead (from math.h, already included). Ref https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/045c1d6 |
||
|---|---|---|
| .. | ||
| aec | ||
| alsa | ||
| audioconvert | ||
| audiomixer | ||
| audiotestsrc | ||
| avb | ||
| bluez5 | ||
| control | ||
| ffmpeg | ||
| jack | ||
| libcamera | ||
| support | ||
| test | ||
| v4l2 | ||
| videoconvert | ||
| videotestsrc | ||
| volume | ||
| vulkan | ||
| meson.build | ||