Home  >> Developers Forum  >> setting bs waveout audio device programatically

moses

Add new friend

Join Date:2014/5/18

Location: Israel

Posts:1

Posted at 2014-06-15 09:46:39
[ setting bs waveout audio device programatically ]

Hi!

I am developing a softphone which dials and receives call via a mobile phone connected to the pc with a bt dongle and bluesoleil. 

I am using the undocumented Bluesoleil com library BluesoleilCs.exe.

The problem is that I cannot get the function Sub HFAP_SetWaveOutDevice(ByVal len As UInteger, ByRef pWaveOutDevice As Byte, ByRef result As UInteger), Member of BLUESOLEILCSLib.IBTSDKHFPAP, to work, and therefore there is no way to select audio devices, such as earphones instead of the built in speaker. 

Only changing the default audio device in windows has effect, but that is no way for commercial software to work, and in WinXP even that does not work. The sound is allways from the built in speaker and mic.

Does anybody out there know how to use this function? I cannot develop the software without it, and that would be Bluesoleil's loss, loosing potentially thousands of customers.

The function probably expects either a string with the name of the device, or a 16 byte array with the guid, but neither of them work.

Many many thanks for your help!

qifei

Add new friend

Join Date:2009/5/26

Location: Czech Republic

Posts:0

Posted at 2014-11-03 01:59:13

Dear moses:

      Please contact support@bluesoleil.com, they can help you.

poonam

Add new friend

Join Date:2020/2/14

Location: India

Posts:0

ligape

Add new friend

Join Date:2022/4/19

Location: United States of America

Posts:7

Posted at 2022-04-19 20:37:57

NOTE:
1.The reply should be more than 20 characters.
2.Image Size: less than 1MB, max pixel: 300 * 300.