mirror of
https://github.com/mpv-player/mpv
synced 2025-03-07 14:47:53 +00:00
There's no real reason why audio_init_filter() should exist. Just use af_init or af_reinit directly. (We lose a useless message; the same information is printed in a quite close place with more details.) Requires less code, and the way the filter chain is marked as having failed to initialize allows just switching off audio instead of crashing if trying to insert a volume filter in mixer.c fails, and recreating the old filter chain fails too. |
||
---|---|---|
.. | ||
ad_lavc.c | ||
ad_mpg123.c | ||
ad_spdif.c | ||
ad.h | ||
dec_audio.c | ||
dec_audio.h |