]> git.sesse.net Git - vlc/commitdiff
libvlc: equalizer: Use ISO bands instead of VLC bands
authorRonald Wright <logiconcepts819@gmail.com>
Wed, 19 Mar 2014 00:16:17 +0000 (19:16 -0500)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Mar 2014 16:53:21 +0000 (18:53 +0200)
This eliminates the inconsistency between the equalizer bands that are
portrayed by the API and the bands that are actually used by the equalizer
module.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
lib/media_player.c

index 7df46f43423ba796d4797fc5c5f84158932e8c89..8eee79c7c1406916e81d3e87d48f7b8240a9e9f3 100644 (file)
@@ -489,6 +489,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
 
     /* Equalizer */
     var_Create (mp, "equalizer-preamp", VLC_VAR_FLOAT);
+    var_Create (mp, "equalizer-vlcfreqs", VLC_VAR_BOOL);
     var_Create (mp, "equalizer-bands", VLC_VAR_STRING);
 
     mp->p_md = NULL;