[RESOLU]Détecter la carte son
Publié : mer. 12/nov./2014 20:53
Bonjour,
Est il possible de détecter la carte son en pb?
Merci
Est il possible de détecter la carte son en pb?
Merci
J'ai trouvé ce petit code sur ce lien.J'sais pas si ça peut aider
viewtopic.php?t=8366&postdays=0&postorder=asc&start=0
Code : Tout sélectionner
; Code par Progi1984
; Date : 31/07/08
; Description de WAVEOUTCAPS
; http://msdn.microsoft.com/en-us/library/ms713743(VS.85).aspx
Nb = waveInGetNumDevs_()
String.s = ""
For a = 0 To Nb -1
Debug "----------"
S_WAVEOUTCAPS.WAVEOUTCAPS
Debug waveOutGetDevCaps_(a, @S_WAVEOUTCAPS, SizeOf(WAVEOUTCAPS))
Debug S_WAVEOUTCAPS\wMid.w
Debug S_WAVEOUTCAPS\wPid.w
Debug S_WAVEOUTCAPS\vDriverVersion.l
Debug PeekS(@S_WAVEOUTCAPS\szPname)
Debug S_WAVEOUTCAPS\dwFormats.l
Debug S_WAVEOUTCAPS\wChannels.w
Debug S_WAVEOUTCAPS\wReserved1.w
Debug S_WAVEOUTCAPS\dwSupport.l
Debug "----------"
Next