質問

Windows XPにコンパイルされたプログラムがあり、Windows 7(x86とx64の両方)で実行しようとしています。このプログラムは、DirectSound8を使用して、マシン上のすべてのサウンドデバイスを列挙しています。問題は、列挙機能が機能することです DirectSoundEnumerate(...) さまざまな結果を返します ドライバー名 Windows XPとWindows 7で。

Windows XP
Device GUID =
Device description = Primary Sound Driver
Driver name =

Device GUID = {bd6dd71a-3deb-11d1-b171-00c04fc20000}
Device description = SigmaTel Audio
Driver name = sthda.sys

Windows 7 x86
Device GUID =
Device description = Primary Sound Driver
Driver name =

Device GUID = {4a1bd997-3986-4b7a-af02-7143e86af46c}
Device description = Speakers / Headphones (SigmaTel High Definition Audio CODEC)
Driver name = {0.0.0.00000000}.{4a1bd997-3986-4b7a-af02-7143e86af46c}

Windows 7 x64
Device GUID =
Device description = Primary Sound Driver
Driver name =

Device GUID = {aaee894b-7a80-44ff-805c-8d5e12207136}
Device description = Speakers / Headphones (SigmaTel High Definition Audio CODEC (for 64-bit Windows))
Driver name = {0.0.0.00000000}.{aaee894b-7a80-44ff-805c-8d5e12207136}

上記の3つのマシンには、Dell Precision 390と同じ構成があります。

プログラムは、DX9SDK_DEC2005の「dsound.lib」へのリンクです。

Windows 7がドライバー名の代わりにドライバー名をGUIDとして返す理由を誰かが知っていますか?

正しい解決策はありません

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top