mpv/audio/out
wm4 8d965a1bfb options: change how option range min/max is handled
Before this commit, option declarations used M_OPT_MIN/M_OPT_MAX (and
some other identifiers based on these) to signal whether an option had
min/max values. Remove these flags, and make it use a range implicitly
on the condition if min<max is true.

This requires care in all cases when only M_OPT_MIN or M_OPT_MAX were
set (instead of both). Generally, the commit replaces all these
instances with using DBL_MAX/DBL_MIN for the "unset" part of the range.

This also happens to fix some cases where you could pass over-large
values to integer options, which were silently truncated, but now cause
an error.

This commit has some higher potential for regressions.
2020-03-13 17:34:46 +01:00
..
ao.c options: change how option range min/max is handled 2020-03-13 17:34:46 +01:00
ao.h player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00
ao_alsa.c ao_alsa: use AO underrun reporting 2019-10-11 20:02:23 +02:00
ao_audiotrack.c audio: add ao_audiotrack for android 2019-11-19 12:10:26 -08:00
ao_audiounit.m ao/audiounit: include AVAudioSession buffer in latency calc 2019-04-05 10:29:44 +07:00
ao_coreaudio.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_coreaudio_chmap.c
ao_coreaudio_chmap.h
ao_coreaudio_exclusive.c ao_coreaudio: insane hack for passing through AC3 as float PCM 2017-06-30 09:06:01 +02:00
ao_coreaudio_properties.c ao_coreaudio: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_coreaudio_properties.h ao_coreaudio: change license to LGPL 2017-05-08 13:57:40 +02:00
ao_coreaudio_utils.c ao/audiounit: improve a/v sync 2019-04-05 10:29:44 +07:00
ao_coreaudio_utils.h ao/audiounit: improve a/v sync 2019-04-05 10:29:44 +07:00
ao_jack.c ao_jack: only auto-connect to audio ports 2018-09-26 22:44:48 +03:00
ao_lavc.c ao_lavc: don't spam underrun warnings 2020-03-13 16:50:27 +01:00
ao_null.c ao_null: add --ao-null-format option for debugging 2018-01-30 03:10:27 -08:00
ao_openal.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_opensles.c ao_opensles: fix delayed audio 2019-09-02 00:38:05 +03:00
ao_oss.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_pcm.c player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00
ao_pulse.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_rsound.c ao_rsound: allow setting the host 2017-08-21 15:46:00 +02:00
ao_sdl.c player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00
ao_sndio.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_wasapi.c audio/out: rip out old unused app/softvolume reporting 2019-10-11 21:05:11 +02:00
ao_wasapi.h ao_wasapi: reorganize wasapi.h 2017-08-07 14:33:03 -07:00
ao_wasapi_changenotify.c
ao_wasapi_utils.c ao_wasapi_utils: remove invalid audio session icon path (fixes #7269) 2020-01-31 23:08:47 +11:00
internal.h player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00
pull.c audio: slightly simplify pull underrun message printing 2020-02-13 18:02:16 +01:00
push.c player: consider audio buffer if AO driver does not report underruns 2020-02-13 01:32:58 +01:00