But, when I use Tapi Browser20,
lineGetID() with "wave/in" or "wave/out" returns SUCCESS
Why Windows and my code cannot see the modem's playback devices?
I should mention, that my code works fine with other voice modems, which
have properly displayed playback devices in Control Panel>Sounds and Audio
Devices
Where can be the difference?
There is not a difference in lineGetID() Params between TB and my code.
Please see the TB log below.
===================================
lineInitialize returned SUCCESS
num line devs = 7
lineOpen returned SUCCESS
lineGetDevCaps returned SUCCESS
LINEDEVCAPS
dwTotalSize=x1000
dwNeededSize=x39c
dwUsedSize=x39c
dwProviderInfoSize=x3e
dwProviderInfoOffset=x124
646e6957 2073776f 656c6554 6e6f6870 Windows Telephon
65532079 63697672 72502065 6469766f y Service Provid
66207265 5520726f 6576696e 6c617372 er for Universal
646f4d20 44206d65 65766972 xxxx0072 Modem Driver.
dwPermanentLineID=xc0df0
dwLineNameSize=x28
dwLineNameOffset=x1a0
65704f41 4d46206e 502d3635 29482820 AOpen FM56-P (H)
65705320 72656b61 6e6f6870 43502065 Speakerphone PC
6f4d2049 006d6564 xxxxxxxx xxxxxxxx I Modem.
dwStringFormat=x1, ASCII
dwAddressModes=x1, ADDRESSID
dwNumAddresses=x1
dwBearerModes=x41, VOICE PASSTHROUGH
dwMaxRate=xdac0
dwMediaModes=x1e, UNKNOWN INTERACTIVEVOICE AUTOMATEDVOICE
DATAMODEM
dwGenerateDigitModes=x2, DTMF
dwMonitorToneMaxNumFreq=x1
dwMonitorToneMaxNumEntries=x1
dwMonitorDigitModes=x6, DTMF DTMFEND
dwDevCapFlags=x21e0, CLOSEDROP DIALBILLING DIALQUIET
DIALDIALTONE <unknown flag(s)>
dwMaxNumActiveCalls=x1
dwRingModes=x1
dwLineStates=x14406ce, RINGING CONNECTED DISCONNECTED
INSERVICE OUTOFSERVICE OPEN CLOSE REINIT TRANSLATECHANGE
REMOVED
dwDevSpecificSize=x5b
dwDevSpecificOffset=x1f0
00000001 00000008 54535953 435c4d45 ........SYSTEM\C
65727275 6f43746e 6f72746e 7465536c urrentControlSet
6e6f435c 6c6f7274 616c435c 7b5c7373 \Control\Class\{
36334434 44363945 3233452d 31312d35 4D36E96D-E325-11
422d4543 2d314346 30303830 31454232 CE-BFC1-08002BE1
38313330 30305c7d xx003030 xxxxxxxx 0318}\0000.
dwLineFeatures=x8, MAKECALL
dwDeviceClassesSize=xa8
dwDeviceClassesOffset=x24c
69706174 6e696c2f 6f630065 63006d6d tapi/line.comm.c
2f6d6d6f 61746164 65646f6d 6f63006d omm/datamodem.co
642f6d6d 6d617461 6d65646f 726f702f mm/datamodem/por
6d616e74 6f630065 642f6d6d 6d617461 tname.comm/datam
6d65646f 6169642f 006e696c 6d6d6f63 odem/dialin.comm
7461642f 646f6d61 642f6d65 6f6c6169 /datamodem/dialo
63007475 2f6d6d6f 65747865 6465646e ut.comm/extended
73706163 76617700 6e692f65 76617700 caps.wave/in.wav
756f2f65 61740074 702f6970 656e6f68 e/out.tapi/phone
70617400 696c2f69 642f656e 6e676169 .tapi/line/diagn
6974736f 00007363 xxxxxxxx xxxxxxxx ostics..
lineGetID returned SUCCESS
VARSTRING
dwTotalSize=x1000
dwNeededSize=x1c
dwUsedSize=x1c
dwStringFormat=x4, BINARY
dwStringSize=x4
dwStringOffset=x18
00000001 xxxxxxxx xxxxxxxx xxxxxxxx ....
Thanks,
Claire
"Claire" <replyto@fra> wrote in message
news:OkmEerBs...@TK2MSFTNGP05.phx.gbl...
> ...
> If so then this might be of interest:
> http://www.tapi.info/default.aspx/TAPI/UnimodemFullDuplexSupport.html
I seem to have the same problem with my modem on Windows 7. It's not
listed in Control Panel , Sound. But on an XP pro machine, it shows up
all right.
"Chu Bun" <chu...@yahoo.com> wrote in message
news:%23bD5TID...@TK2MSFTNGP05.phx.gbl...
Claire,
what wave device list do you get from my Toto� Tool WaveDevice ?
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm#_Toto�_Tool_WaveDevice
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto� Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.
waveInGetNumDevs: 00000003H (3)
waveInGetDevCaps: uDeviceID = 00000000H (0), pwic = 00144458H, cbwic = 30H
(48)
WAVEINCAPS:
wMid = 0001H (1),
wPid = 0065H (101),
vDriverVersion = 0000050aH (1290),
szPname = "Aureal Audio",
dwFormats = 000bffffH (786431),
wChannels = ffffH (65535),
wReserved1 = 7c80H (31872)
waveInGetDevCaps: uDeviceID = 00000001H (1), pwic = 00144458H, cbwic = 30H
(48)
WAVEINCAPS:
wMid = ffffH (65535),
wPid = ffffH (65535),
vDriverVersion = 00000309H (777),
szPname = "Hi-Phone Desktop Lite",
dwFormats = 000bffffH (786431),
wChannels = ffffH (65535),
wReserved1 = 7c80H (31872)
waveInGetDevCaps: uDeviceID = 00000002H (2), pwic = 00144458H, cbwic = 30H
(48)
WAVEINCAPS:
wMid = ffffH (65535),
wPid = ffffH (65535),
vDriverVersion = 00000309H (777),
szPname = "Hi-Phone Desktop Lite Aux",
dwFormats = 000bffffH (786431),
wChannels = ffffH (65535),
wReserved1 = 7c80H (31872)
waveOutGetNumDevs: 00000002H (2)
waveOutGetDevCaps: uDeviceID = 00000000H (0), pwoc = 001462d0H, cbwoc = 34H
(52
WAVEOUTCAPS:
wMid = 0001H (1),
wPid = 0064H (100),
vDriverVersion = 0000050aH (1290),
szPname = "Aureal Audio",
dwFormats = 000bffffH (786431),
wChannels = ffffH (65535),
wReserved1 = 0014H (20),
dwSupport = 0000002cH (44)
waveOutGetDevCaps: uDeviceID = 00000001H (1), pwoc = 001462d0H, cbwoc = 34H
(52
WAVEOUTCAPS:
wMid = ffffH (65535),
wPid = ffffH (65535),
vDriverVersion = 00000309H (777),
szPname = "Hi-Phone Desktop Lite",
dwFormats = 000bffffH (786431),
wChannels = ffffH (65535),
wReserved1 = 0014H (20),
dwSupport = 0000002cH (44)
"Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de> wrote in
message news:OMZlyjPs...@TK2MSFTNGP04.phx.gbl...
Claire, you are welcome.
> There are not modem's audio devices included, but please notice that
> Device Manager shows Unimodem Full-Duplex Audio Device.
So it seems that there is something wrong with the modem installation.
Did you already try to re-install and check the manufacturer's website for
updated drivers?