Working with multiple sound cards

DLL Edition of the F-IN-BOX
c0mas
Posts: 20
Joined: Sat Nov 27, 2010 5:01 pm

Working with multiple sound cards

Postby c0mas » Mon Dec 06, 2010 8:20 pm

Hi again,

We are working with systems with multiple sound devices. How can we select one specific sound card to be the output of the flash player ?

Thank you,
/COmas

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

Postby Softanics » Tue Dec 07, 2010 12:58 pm

Hello,

It seems that this is a global setting of Flash.

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

c0mas
Posts: 20
Joined: Sat Nov 27, 2010 5:01 pm

Postby c0mas » Tue Dec 07, 2010 8:26 pm

I see, and is there any way to set this setting (to forward the info to the ocx or something) from f-in-box ?

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

Postby Softanics » Wed Dec 08, 2010 6:38 am

Hello,

The only idea I have is to use:

http://www.f-in-box.com/dll/help/index/ ... tener.html

and write additional code that outputs passed sound samples to another device.

Thank you.
Best regards, Artem A. Razin,

F-IN-BOX support

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

c0mas
Posts: 20
Joined: Sat Nov 27, 2010 5:01 pm

Postby c0mas » Thu Dec 09, 2010 6:47 pm

I see, thanks, this should help if I get to this.

c0mas
Posts: 20
Joined: Sat Nov 27, 2010 5:01 pm

Postby c0mas » Sun Dec 19, 2010 2:48 pm

It seems that when using FPC_SetSoundListener with multiple flash movies playing at the same time, there is no way I can know what flash video has sent the sound.

Am I mistaking or is there any way I can pair a .swf with a sound ?

Also, is there any way I can tell if a flash has sound or not ?


Thanks.

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

Postby Softanics » Tue Dec 21, 2010 4:12 pm

Hello,

Yes, unfortunately all flash movies share the same output device.

But there is a solution. Create HPFC (see functions FPC_LoadRegisteredOCX / FPC_LoadOCXCodeFromMemory) for each f-in-box windows and use it for each flash movie.

Thank you.
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 10 guests