I think that I can really help you with the situation. Actually the thing is that you will have to make an extra effort so that you can overcome the issue that you are facing at the moment. Well it is really weird for the other users that the VLC player is controlling the system volume. But I do not think that it is weird here with me. I have also faced the similar issue and I think that I can help you here with this. I was able to overcome the issue and I think that you can have it solved here. Here is the code for your help:
Code:
bool MainInterface::winEvent ( MSG * msg, long * result )
{
/* ... */
switch( msg->message )
{
/* ... */
case WM_APPCOMMAND:
cmd = GET_APPCOMMAND_LPARAM(msg->lParam);
switch(cmd)
{
/* ... */
// The code below is now disabled
case APPCOMMAND_VOLUME_DOWN:
THEAM->AudioDown();
break;
case APPCOMMAND_VOLUME_UP:
THEAM->AudioUp();
break;
case APPCOMMAND_VOLUME_MUTE:
THEAM->toggleMuteAudio();
break;
// The code above is now disabled
/* ... */
}
break;
}
return false;
}
save the above code as vlc-1.1.2/modules/gui/qt4/main_interface_win32.cpp. You will just have to see the step here so that you can you can use the VLC in the default manner. See the steps here:
- Open the libqt4_plugin.dll
- You will get libqt4_plugin.dll in the hex directory
- Now you will be required to go to the offset 0x8A5390 and make some amendments for the following sequences of bytes. Change 70 F1 E9 68 A0 F1 E9 68 85 F1 E9 68 to the new value 82 F0 E9 68 82 F0 E9 68 82 F0 E9 68 and then save it.
I am using the VLC player now and I think that it has not come up with the issue yet. Hope that you will be able to get the same from here.
Bookmarks