Postby whome » Mon Oct 21, 2013 12:54 pm
Wohoo, I just found out the same bug and my findings are its WinOS+Flash.OCX combination issue. Both of these calls or one of them does nothing, tried just now. See last combo where audio mute did work fine.
FlashPlayerControl.SetAudioEnabled(false);
FlashPlayerControl.SetAudioVolume(0);
WinXP, Flash11.ocx (tried several ocx versions)
both commands are fine.
WinXP, Flash10.ocx (10.3.183.10)
both commands are fine.
Win7(64bit), Flash11.ocx (tried several ocx versions)
Audio functions do nothing, swf is playing sound even if I did not want to.
Win7(64bit), Flash10.ocx (10.3.183.10)
both commands are fine, am able to mute flash plugin.
TFlashPlayerControl.pas header says Version: 3.6. Did not check version number in DelphiIDE but I guess it should be this one.
I need to mute swf internal sound and playback .mp3 using delphi directx. Need to assign audio to specific audiocard. Flash always playbacks to windows default device. TFlashPlayerControl or FlashOCX interface does not let tell audio rendering device index.