mpv/audio
wm4 89bc2975e9 audio: change playback speed directly in resampler
Although the libraries we use for resampling (libavresample and
libswresample) do not support changing sampelrate on the fly, this makes
it easier to make sure no audio buffers are implicitly dropped. In fact,
this commit adds additional code to drain the resampler explicitly.

Changing speed twice without feeding audio in-between made it crash
with libavresample inc ertain cases (libswresample is fine). This is
probably a libavresample bug. Hopefully this will be fixed, and also I
attempted to workaround the situation that crashes it. (It seems to
point in direction of random memory corruption, though.)
2015-03-02 19:09:44 +01:00
..
decode audio: fix initial audio PTS 2015-01-14 22:14:46 +01:00
filter audio: change playback speed directly in resampler 2015-03-02 19:09:44 +01:00
out ao/wasapi: move resume to audio thread 2015-02-23 14:02:08 -08:00
audio.c audio: fix pool allocation 2015-02-11 11:36:07 +01:00
audio.h audio: add missing declaration 2015-01-14 22:15:00 +01:00
audio_buffer.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
audio_buffer.h audio: add mp_audio_buffer 2013-11-12 23:28:21 +01:00
chmap.c audio: accept 1.0 and 2.0 as aliases for mono and stereo 2015-02-26 15:41:45 +01:00
chmap.h chmap_sel: add multichannel fallback heuristic 2014-12-29 17:56:53 +01:00
chmap_sel.c chmap_sel: add multichannel fallback heuristic 2014-12-29 17:56:53 +01:00
chmap_sel.h chmap_sel: add multichannel fallback heuristic 2014-12-29 17:56:53 +01:00
fmt-conversion.c audio: fix format ID conversion 2013-12-23 21:24:41 +01:00
fmt-conversion.h
format.c ao/format: add af_fmt_is_float 2014-12-01 03:40:23 -08:00
format.h ao/format: add af_fmt_is_float 2014-12-01 03:40:23 -08:00
mixer.c mixer: don't show softvol neutral marker on OSD if not using softvol 2014-11-27 10:11:55 +01:00
mixer.h player: show "neutral" position markers for OSD bars 2014-06-08 23:52:58 +02:00