Defines
Code: Select all
<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
Code: Select all
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)
Thanks inadvance