Hi all:

In my platform,CE5.0,there are two wave drivers(WAV0 and WAV1),so in
my APPs,how do I use WAVE_MAPPER parameter to play sound stream out? In this
case, what does the WAVE_MAPPER equal to ?

Re: Two WAV drivers , how to use WAVE_MAPPER ? by K

K
Sun Aug 28 22:13:13 CDT 2005

Just assigned some interger number greater than 1.
1 is for default device that is WAV1: 2 is for WAV2 and etc.
You may refer to the CETK test code that located in
$(_WINCEROOT)\Private\Test\Audio\Wave\Functional\WaveTest, there is an
example that how to I/O waveform on other devices.

"Knight Lin" <linw@amoi.com.cn> ¼¶¼g©ó¶l¥ó·s»D:uYIuAf8qFHA.3596@TK2MSFTNGP15.phx.gbl...
> Hi all:
>
> In my platform,CE5.0,there are two wave drivers(WAV0 and WAV1),so
> in my APPs,how do I use WAVE_MAPPER parameter to play sound stream out? In
> this case, what does the WAVE_MAPPER equal to ?
>



Re: Two WAV drivers , how to use WAVE_MAPPER ? by Knight

Knight
Mon Aug 29 01:24:42 CDT 2005

Thanks for your reply,I knowed how to do as you said, but I just want to
know how to use WAVE_MAPPER parameter ? If I use WAVE_MAPPER instead of
interger number , what does WAVE_MAPPER equal to, 1 or 2 ? And who will
assign the value?

"K. S. Huang" <ksh_AT_bsquare_DOT_com> дÈëÏûÏ¢ÐÂÎÅ:eDEjdeErFHA.248@TK2MSFTNGP14.phx.gbl...
> Just assigned some interger number greater than 1.
> 1 is for default device that is WAV1: 2 is for WAV2 and etc.
> You may refer to the CETK test code that located in
> $(_WINCEROOT)\Private\Test\Audio\Wave\Functional\WaveTest, there is an
> example that how to I/O waveform on other devices.
>
> "Knight Lin" <linw@amoi.com.cn> ¼¶¼g©ó¶l¥ó·s»D:uYIuAf8qFHA.3596@TK2MSFTNGP15.phx.gbl...
>> Hi all:
>>
>> In my platform,CE5.0,there are two wave drivers(WAV0 and WAV1),so
>> in my APPs,how do I use WAVE_MAPPER parameter to play sound stream out?
>> In this case, what does the WAVE_MAPPER equal to ?
>>
>
>



Re: Two WAV drivers , how to use WAVE_MAPPER ? by K

K
Mon Aug 29 01:36:15 CDT 2005

Please refer to the PUBLIC\COMMO\SDK\INC\mmsystem.h
#define WAVE_MAPPER ((DWORD)(-1))

so that it will use the default Waveform driver.


"Knight Lin" <linw@amoi.com.cn> ¼¶¼g©ó¶l¥ó·s»D:O5K6JKGrFHA.3096@TK2MSFTNGP15.phx.gbl...
> Thanks for your reply,I knowed how to do as you said, but I just want to
> know how to use WAVE_MAPPER parameter ? If I use WAVE_MAPPER instead of
> interger number , what does WAVE_MAPPER equal to, 1 or 2 ? And who will
> assign the value?
>
> "K. S. Huang" <ksh_AT_bsquare_DOT_com> дÈëÏûÏ¢ÐÂÎÅ:eDEjdeErFHA.248@TK2MSFTNGP14.phx.gbl...
>> Just assigned some interger number greater than 1.
>> 1 is for default device that is WAV1: 2 is for WAV2 and etc.
>> You may refer to the CETK test code that located in
>> $(_WINCEROOT)\Private\Test\Audio\Wave\Functional\WaveTest, there is an
>> example that how to I/O waveform on other devices.
>>
>> "Knight Lin" <linw@amoi.com.cn> ¼¶¼g©ó¶l¥ó·s»D:uYIuAf8qFHA.3596@TK2MSFTNGP15.phx.gbl...
>>> Hi all:
>>>
>>> In my platform,CE5.0,there are two wave drivers(WAV0 and WAV1),so
>>> in my APPs,how do I use WAVE_MAPPER parameter to play sound stream out?
>>> In this case, what does the WAVE_MAPPER equal to ?
>>>
>>
>>
>
>