pipewire/spa/plugins/alsa/acp
q66 aa11dbe10c alsa: get rid of non-portable isinf use
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 045c1d6
2023-08-31 10:37:22 +00:00
..
acp.c alsa: add device.profile.pro property 2023-08-29 09:22:27 +02:00
acp.h
alsa-mixer.c
alsa-mixer.h
alsa-ucm.c alsa: Allow to augment ucm port properties 2023-06-26 19:39:31 +00:00
alsa-ucm.h
alsa-util.c
alsa-util.h
array.h
card.h
channelmap.h
compat.c
compat.h
conf-parser.c
conf-parser.h
device-port.h
dynarray.h
hashmap.h
idxset.h
llist.h
meson.build
proplist.h
volume.h alsa: get rid of non-portable isinf use 2023-08-31 10:37:22 +00:00