1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
mpv/audio
wm4 7dd3822d09 audio: refactor some aspects of filter chain setup
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.
2014-10-02 02:42:23 +02:00
..
decode audio: refactor some aspects of filter chain setup 2014-10-02 02:42:23 +02:00
filter audio: refactor some aspects of filter chain setup 2014-10-02 02:42:23 +02:00
out audio/out/push: clean up properly on init error 2014-09-27 04:54:17 +02:00
audio_buffer.c
audio_buffer.h
audio.c af_fmt2bits: change to af_fmt2bps (bytes/sample) where appropriate 2014-05-28 21:38:00 +02:00
audio.h af_fmt2bits: change to af_fmt2bps (bytes/sample) where appropriate 2014-05-28 21:38:00 +02:00
chmap_sel.c Add more const 2014-06-11 00:39:14 +02:00
chmap_sel.h
chmap.c Add more const 2014-06-11 00:39:14 +02:00
chmap.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
fmt-conversion.c
fmt-conversion.h
format.c audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
format.h audio: cleanup spdif format definitions 2014-09-23 23:11:54 +02:00
mixer.c mixer: always restore volume (even with pulse), don't unmute 2014-09-20 02:02:29 +02:00
mixer.h player: show "neutral" position markers for OSD bars 2014-06-08 23:52:58 +02:00