Controlling movie volume?

DLL Edition of the F-IN-BOX
tconkling
Posts: 4
Joined: Tue Jan 10, 2006 12:27 am

Controlling movie volume?

Postby tconkling » Wed Apr 05, 2006 7:52 pm

Is there a way to control the volume of a Flash movie from within the host app? I did a search for "volume" in the various FlashPlayerControl headers and didn't find anything.

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

Postby Softanics » Thu Apr 06, 2006 4:51 pm

Thank you for your question.
I'm sorry, in the current version it's impossible.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

Zeratul
Posts: 24
Joined: Sat Apr 01, 2006 8:19 am

Postby Zeratul » Tue Apr 11, 2006 2:16 pm

I also need this feature. Can you make it in new version ?
Something like SetVolume(0 - 100)/GetVolume will be very usefull.

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

Postby Softanics » Tue Apr 11, 2006 2:24 pm

We will include this feature in the nearest release.
Best regards, Artem A. Razin,

F-IN-BOX support

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

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

Postby Softanics » Wed Apr 12, 2006 11:21 am

The feature is added.

Use the functions FPC_PutAudioVolume and FPC_GetAudioVolume.
They are declared in FlashPlayerControl.h:

Code: Select all

// Audio volume
#define DEF_MAX_FLASH_AUDIO_VOLUME   (0xFFFF)

// 0 <= nVolume <= DEF_MAX_FLASH_AUDIO_VOLUME
HRESULT WINAPI FPC_PutAudioVolume(DWORD dwVolume);
HRESULT WINAPI FPC_GetAudioVolume(DWORD* pdwVolume);
Best regards, Artem A. Razin,

F-IN-BOX support

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


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 20 guests

cron