2.2.0 Adjust and Equalizer Problems

This forum is about all development around libVLC.
spider58
Blank Cone
Blank Cone
Posts: 91
Joined: 28 Jun 2011 14:39

2.2.0 Adjust and Equalizer Problems

Postby spider58 » 08 Jan 2015 12:20

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.

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: 2.2.0 Adjust and Equalizer Problems

Postby mangokm40 » 08 Jan 2015 14:47

"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);

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 2.2.0 Adjust and Equalizer Problems

Postby Jean-Baptiste Kempf » 08 Jan 2015 19:39

You should file bugreports and be clearer with the second
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: 2.2.0 Adjust and Equalizer Problems

Postby sherington » 09 Jan 2015 16:08

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.

spider58
Blank Cone
Blank Cone
Posts: 91
Joined: 28 Jun 2011 14:39

Re: 2.2.0 Adjust and Equalizer Problems

Postby spider58 » 12 Jan 2015 08:30

"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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests