September 21, 2023, 06:01:11 AM


IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!

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.


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.