Problems with volume changing

This forum is about all development around libVLC.
hanky
Blank Cone
Blank Cone
Posts: 21
Joined: 30 May 2012 07:49

Problems with volume changing

Postby hanky » 07 Mar 2013 10:44

Hi.
I'm using libVLC 2.0.5 (vlc-qt actually) to create a media player for my program.
I have some problems with sound output: there are notable lags on volume changing and I have no sound at all when I pause and then resume the playback.
I have these problems both on Linux and Windows, but Vlc Media Player itself is fine on both these platforms.
Is it correct that if I initilize the vlc instance in my program exactly with the same arguments as they are in Vlc Media player, these problems will disappear?
How can I get the arguments the vlc instance in Vlc Media Player is initialized with?

Thank you.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Problems with volume changing

Postby Rémi Denis-Courmont » 07 Mar 2013 20:23

The only two flags passed by VLC 2.0.x to libvlc_new() are --no-ignore-config and --media-library. They are likely irrelevant in this case.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

hanky
Blank Cone
Blank Cone
Posts: 21
Joined: 30 May 2012 07:49

Re: Problems with volume changing

Postby hanky » 11 Mar 2013 11:44

The only two flags passed by VLC 2.0.x to libvlc_new() are --no-ignore-config and --media-library. They are likely irrelevant in this case.
If I use these flags and have no other errors in my program, I should get exactly the same behaviour as in Vlc Media Player, right?
I mean these functions will do the work:

Code: Select all

libvlc_new libvlc_media_player_new libvlc_media_player_set_media libvlc_media_player_play

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Problems with volume changing

Postby Rémi Denis-Courmont » 14 Mar 2013 17:34

Seriously, you can read the code in bin/vlc.c yourself...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests