Page 1 of 1

2.2.0 Adjust and Equalizer Problems

Posted: 08 Jan 2015 12:20
by spider58
Hello.

Yesterday i'm upgraded to 2.2.0. Im faced 2 problems.

1)
libvlc_video_set_adjust_int and libvlc_video_set_adjust_float doesnt working. old dlls working good.

Defines

<DLLImport("libvlc",CallingConvention:=CallingConvention.Cdecl)> _
Friend Shared Sub libvlc_video_set_adjust_int(Byval player as Intptr, Byval Optionz as Adjustoptions, Byval value as Integer)

Code: Select all

<DLLImport("libvlc",CallingConvention:=CallingConvention.Cdecl)> _ Friend Shared Sub libvlc_video_set_adjust_float(Byval player as Intptr, Byval Optionz as Adjustoptions, Byval value as Single)
Usage

l

Code: Select all

ibvlc_video_set_adjust_int(handle, adjustoptions.libvlc_adjust_enable,1) libvlc_video_set_adjust_float(handle, adjustoptions.libvlc_adjust_Contrast, 155.0)

2)

libvlc_media_player_set_equalizer(handle, equalizer.handle)

doesn't work.

Re: 2.2.0 Adjust and Equalizer Problems

Posted: 08 Jan 2015 14:47
by mangokm40
"2) libvlc_media_player_set_equalizer(handle, equalizer.handle) doesn't work."


That may be a little too broad. It works, since I'm using it.

libvlc_equalizer_t *eq = libvlc_audio_equalizer_new_from_preset(eqIndex);
....I check return value and do some other things here....
libvlc_media_player_set_equalizer(vlcPlayer, eq);
libvlc_audio_equalizer_release(eq);

Re: 2.2.0 Adjust and Equalizer Problems

Posted: 08 Jan 2015 19:39
by Jean-Baptiste Kempf
You should file bugreports and be clearer with the second

Re: 2.2.0 Adjust and Equalizer Problems

Posted: 09 Jan 2015 16:08
by sherington
For video adjust there was a change made a while ago that meant you had to explicitly re-enable the adjustment controls whenever you changed a value, I thought that change had been reverted, but it still doesn't work for me either.

https://trac.videolan.org/vlc/ticket/11750

The audio equalizer works just fine for me with vlc-git.

Re: 2.2.0 Adjust and Equalizer Problems

Posted: 12 Jan 2015 08:30
by spider58
"2) libvlc_media_player_set_equalizer(handle, equalizer.handle) doesn't work."


That may be a little too broad. It works, since I'm using it.

libvlc_equalizer_t *eq = libvlc_audio_equalizer_new_from_preset(eqIndex);
....I check return value and do some other things here....
libvlc_media_player_set_equalizer(vlcPlayer, eq);
libvlc_audio_equalizer_release(eq);
hello.

can you give me your equalizer define and usage codes for equalizer please? You can send me with PM if you want.

i would be grateful.
Best regards