Re: [AD] DirectX sound driver detection bug? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> It still crashes.
We have then to devise a way to discard the first enumerated device without
breaking everything.
Could you try to add the statement
allegro_message("lpGuid = %p", lpGuid);
line 200 of src/win/wdsound.c ? Then recompile, reinstall and try for
example the dxwindow.exe test in tests/win. What values for lpGuid are
displayed ?
> So the real problem is his sound card driver?
Or some compatibility problem in DirectSound. Here's what the DirectX 7 SDK
says about lpGuid obtained through enumeration:
"lpGuid
Address of the GUID that identifies the DirectSound driver being enumerated.
This value can be passed to the DirectSoundCreate function to create a
DirectSound object for that driver"
There seems to be no condition on the use of lpGuid once it is obtained.
--
Eric Botcazou