April 17, 2024, 08:11:35 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Automatic gain control for ShockwaveFlash

Started by sapero, August 23, 2009, 07:01:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sapero

This is a plugin for Internet Explorer - it ensures the constant audio level in online video players, based on Flash ocx control (youtube, megavideo...). It was developed with flash9e, which is still using waveout for audio output.

The plugin on/off button is available in browser Tools menu - Normalize audio. Actually this is not a BHO, just a command handler. If you click this menu item, Internet Explorer is calling CommandTarget::Exec method with no parameters, and the code installs or removes a hook on waveOutWrite api function.

To install/uninstall it, use provided .bat files. After you install it, your IE browser should be restarted to make the new menu item visible. If your running vista or above, you'll need to modify registry operations for current user in DllRegisterServer and DllUnregisterServer - replace HKEY_LOCAL_MACHINE with HKEY_CURRENT_USER, and
HKEY_CLASSES_ROOT, "something" replace withHKEY_CURRENT_USER, "Software\\Classes\\something"Then recompile.
The included .dll will register itself in HKEY_LOCAL_MACHINE.