[vlc-commits] Add new API to libvlc for persistent equalizer settings.

Mark Lee git at videolan.org
Sat Sep 15 15:19:04 CEST 2012


vlc | branch: master | Mark Lee <mark.lee at capricasoftware.co.uk> | Fri Sep  7 19:30:47 2012 +0100| [32596ea810730f1d995ed7cb023de64cf1da6047] | committer: Jean-Baptiste Kempf

Add new API to libvlc for persistent equalizer settings.

New methods are provided to:

 - get the available equalizer presets;
 - get the available frequency bands (useful for creating a UI);
 - create a new default equalizer, or create a new equalizer from a preset;
 - release a previously created equalizer;
 - get/set preamp and individual frequency amplification values;
 - apply equalizer settings to a media player.

Equalizer settings are persistent, can be made whether media is currently playing or not, and will automatically be applied to subsequently played media.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=32596ea810730f1d995ed7cb023de64cf1da6047
---

 NEWS                                     |    1 +
 include/vlc/libvlc_media_player.h        |  167 ++++++++++++++++++++++++++++++
 lib/audio.c                              |  149 ++++++++++++++++++++++++++
 lib/libvlc.sym                           |   12 +++
 lib/media_player.c                       |   38 +++++++
 lib/media_player_internal.h              |   11 ++
 modules/audio_filter/equalizer.c         |   11 --
 modules/audio_filter/equalizer_presets.h |   16 +++
 src/audio_output/common.c                |   16 +++
 9 files changed, 410 insertions(+), 11 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=32596ea810730f1d995ed7cb023de64cf1da6047


More information about the vlc-commits mailing list