Re: does bluetooth audio gateway conflic with audio codec(sound card) on board? by YongQiang
YongQiang
Fri Mar 14 14:43:06 PDT 2008
i found the answer after i reading the source code!
the answer is the Audio GateWay(btagsvc.dll) rounte the stream to device 0
always!
waveOutMessage(0, WODM_BT_SCO_AUDIO_CONTROL, 0, TRUE);
the first parameter is *0*. that means BT HeadSet MUST be waveform device 0
when using
this Audio Gateway.but default,the BT HeadSet always be device 1. Why?
the other importent thing
i used to think device0 map to WAV0,device 1 map to WAV1 ,as below
device 0 --- WAV0
device 1 --- WAV1
but it is wrong.device 0 means the first loaded device by device.exe.
(*order* in register decided the device index,not *Index* in register.)
so, i edit their order value,this time ,BT -- device0, audio chip --
device1.
everything is ok!thank gods!
"YongQiang Chen" <chenyq2000@sina.com> дÈëÏûÏ¢
news:FE074D50-4EE6-45B1-A7D4-AE0F3264F9D1@microsoft.com...
> hi, experts,
>
> (WinCE 5.0, samsung arm920t cpu.)
>
> There was already one audio codec chip on my board ,that had been
> driven as *WAV0*.
> i socket another BlueTooth USB Adapter,for communicate with my BlueTooth
> HeadSet.this
> BlueTooth Adapter been driven as *WAV1*,(bthscosnd.dll),and then i use
> below command
> to find & rounte audio stream & connect the HeadSet.as below,
>
> btagconfig -audio on
>
> i get,
> "Opening Bluetooth audio..."
> "Operation successful."
> but, nothing happen.
>
> ----------------------------------------
> after remove *WAV0*,then reset,of couse,this time, WAV1 -> WAV0.
> i can hear all sound ,even system event sound,from HeadSet.
>
> does they conflic?how to use them both?
>
> ---
> my mother language is not english .