Je joint au message le fichier __Mixer.au3 (Que vous pouvez trouver sur le site de THERKS)
Voici un exemple d'utilisation très simple :
Code : Tout sélectionner
#include <__Mixer.au3>
; Réglages sur le volume du micro :
_SetMixerVolume($MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE, 50)
MsgBox(64,"","Le volume du micro est de " & _GetMixerVolume($MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE))
_SetMixerVolume($MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE, 80)
MsgBox(64,"","Le volume du micro est de " &_GetMixerVolume($MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE))
; Réglages sur le volume du HP :
_SetMixerVolume($MIXERLINE_COMPONENTTYPE_DST_SPEAKERS, 50)
MsgBox(64,"","Le volume du HP est de " & _GetMixerVolume($MIXERLINE_COMPONENTTYPE_DST_SPEAKERS))
_SetMixerVolume($MIXERLINE_COMPONENTTYPE_DST_SPEAKERS, 80)
MsgBox(64,"","Le volume du HP est de " &_GetMixerVolume($MIXERLINE_COMPONENTTYPE_DST_SPEAKERS))