[vlc-devel] Libvlc 2.2.0 Bug Report for Equalizer

spider58 spider58 at gmail.com
Tue Jan 13 08:39:05 CET 2015


Hello.

I was using old versions of VLS until yesterday and i'm upgraded my libvlc
version to 2.2.0

Im facing equalizer problems

(Note: Below codes working good on 3.0.0 nightly building without any code
change. So I mean my code has no problem. 2.2.0 has a problem)

sound doesn't affected by equalizer.

my codes.

<DllImport("libvlc",CallingConvention:=CallinConvention.Cdecl)> _
Public Shared Function libvlc_audio_equalizer_new() as Intptr

<DllImport("libvlc",CallingConvention:=CallinConvention.Cdecl)> _
Public Shared Function libvlc_audio_equalizer_set_amp_at_index( Byval
equalizer as IntPtr, f_amp as Single, u_band as Integer) As Integer

dim equal as Intptr = libvlc_audio_equalizer_new()

libvlc_audio_equalizer_set_amp_at_index(equal,10.2F,0)
libvlc_audio_equalizer_set_amp_at_index(equal,0F,1)
libvlc_audio_equalizer_set_amp_at_index(equal,-5.1F,2)
libvlc_audio_equalizer_set_amp_at_index(equal,10.0F,3)
libvlc_audio_equalizer_set_amp_at_index(equal,-10.2F,4)
libvlc_audio_equalizer_set_amp_at_index(equal,-20.0F,5)
libvlc_audio_equalizer_set_amp_at_index(equal,10.2F,6)
libvlc_audio_equalizer_set_amp_at_index(equal,10.2F,7)
libvlc_audio_equalizer_set_amp_at_index(equal,10.2F,8)
libvlc_audio_equalizer_set_amp_at_index(equal,10.2F,9)

libvlc_media_player_set_equalizer(PlayerHandle,equal)

and then

libvlc_audio_equalizer_get_amp_at_index(equal,0)

When i use this code its return true value which i set before.
what can i do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150113/e57a2b11/attachment.html>


More information about the vlc-devel mailing list