mpv/audio
wm4 81d8c5d519 af_scaletempo: allow changing speed at runtime without reinit
Staring at the code a bit, it turns out that changing speed without
losing state is quite easy. The initialization code is big and
complicated, but most of it is specific only to the configured audio
format, not the speed.

Refactor the code so that changing speed at runtime could work. (It's
not actually used yet - the player code still does a complete reinit.
This will be fixed in the next commit.)

The "if (s->speed_tempo == s->speed_pitch)" looks a bit strange, but
does the same thing as the code did before: speed can be changed only if
exactly one flag is set. If both are set or none, speed can't be
changed.
2015-02-10 22:34:07 +01:00
..
decode audio: fix initial audio PTS 2015-01-14 22:14:46 +01:00
filter af_scaletempo: allow changing speed at runtime without reinit 2015-02-10 22:34:07 +01:00
out ao_coreaudio: fix small memory leak 2015-02-03 00:40:02 +01:00
audio.c audio: add some utility functions for refcounted frames 2015-01-13 20:14:25 +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
chmap.c chmap_sel: add multichannel fallback heuristic 2014-12-29 17:56:53 +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