[MPlayer-dev-eng] [PATCH 0/7] af_scale*: intro

Robert Juliano juliano.1 at osu.edu
Mon Jun 11 05:54:20 CEST 2007


Here is a series of patches for your listening pleasure.
Patches are in separate emails.  Here is a brief intro.

1) af_playback_speed_change
Moves code handling changes in playback_speed to libaf.  Adds
libaf/af.h:af_playback_speed_change() to handle changes in
playback_speed

2) af_calc_insize_constrained_overflow_quickfix
These patches have floating point ratios of input to output
which cause af.c:af_calc_insize_constrained to integer overflow
causing dropped data.  See my post from 5/30.

3) af_scaletempo
This is the main patch.  It adds a filter that, when used
(-af scaletempo), syncs with playback_speed to scale the audio
tempo while preserving the pitch.

4) scaletempo_auto
Automagically installs scaletempo into filter chain upon speed
change.  No need for command line argument.

5) af_scalerate
Adds a filter to revert to the old behavior.

6) af_scalepitch
Adds filter, command, property, and key bindings to scale
pitch without changing tempo.  Fairly trivial to add given
above patches.

7) scaledocs
doc changes and such.

I'll post the final two later in the week as time and energy
permit.  Comments are very welcome.

Robert





More information about the MPlayer-dev-eng mailing list