SetAudioEnabled() not working

F-IN-BOX for Delphi / Builder C++ / VCL
GfxBro
Posts: 5
Joined: Fri Jul 08, 2011 1:06 pm

SetAudioEnabled() not working

Postby GfxBro » Sun Sep 15, 2013 3:06 pm

SetAudioEnabled is not working on 11.8.800.168. I have also 11.2.202.235 and working. I don't know other versions.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Sep 17, 2013 11:36 am

Hello,

I'm going to check it.

Thank you.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

whome
Posts: 9
Joined: Mon Sep 04, 2006 7:13 am

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.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Thu Oct 24, 2013 5:38 pm

Oh, that's fantasic!

whome wrote:Win7(64bit), Flash11.ocx (tried several ocx versions)
Audio functions do nothing, swf is playing sound even if I did not want to.


Aha, now I see. Would you mind to write me exact version of the flash ocx? If you install the most recent one, 11.9.900.117, the same issue?

Thank you for your help!
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: No registered users and 23 guests

cron