Home  >> Developers Forum  >> how to stream audio file or device sound Instead of microphone

sp33dy

Add new friend

Join Date:2011/9/8

Location: Jordan

Posts:1

Posted at 2011-09-08 13:06:46
[ how to stream audio file or device sound Instead of microphone ]

how to stream audio file or device sound Instead of microphone when we use HFP/HSP Profile - Device ??

i found this function in the sdk

 

 

BTBOOL Btsdk_HFAP_SetWaveOutDevice(

BTUINT8* pWaveOutDevice,

BTUINT32 devNamelen

);

 

idont know if the one will do what i want plz help :(

qifei

Add new friend

Join Date:2009/5/26

Location: Czech Republic

Posts:0

Posted at 2011-12-13 18:12:09

Yes, Bluesoleil will open the deafualt waveout device(Normally the speaker) and wavein device(Normally the microphone) when work as the HFP device. In your case i think you need call Btsdk_HFAP_SetWaveInDevice. One thing to mention pWaveOutDevice should be in ansi mode.

So you need call the waveinopenA

BlueFish

Add new friend

Join Date:2015/4/2

Location:

Posts:2

Posted at 2015-04-28 03:18:40

Hi

I'm trying to do the exact same thing and am having troubles using the method correctly. When invoking Btsdk_HFAP_SetWaveOutDevice, I always get back true, even when I set completely wrong device names and lengths... What is the device name supposed to look like? Something like "{0.0.0.00000000}.{01e50d88-b3f4-4ccb-bb14-4b915d5dfae0}"? Can you provide an example?

lexisarnes

Add new friend

Join Date:2019/7/13

Location: United States of America

Posts:0

Posted at 2019-07-13 15:56:08

The streaming of the audio and the video file is the way to get the proper translated story of the view in all the software. The way to get the best streaming is launched with top resume services for the making of service quick and maintained.

poonam

Add new friend

Join Date:2020/2/14

Location: India

Posts:0

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