H
houling
Unregistered / Unconfirmed
GUEST, unregistred user!
用MCI命令控制音量
我的
const
MCI_SETAUDIO= $873;
MCI_DGV_SETAUDIO_VALUE=$01000000;
MCI_DGV_SETAUDIO_ITEM=$00800000;
MCI_DGV_SETAUDIO_VOLUME=$4002;
MAX_VOLUME=65535;
MIN_VOLUME=0;
volume_value:=MAX_VOLUME;
s.dwValue:=volume_value;
s.dwItem:=MCI_DGV_SETAUDIO_VOLUME;
mciSendCommand(MediaPlayer1.DeviceID,MCI_SETAUDIO,
MCI_DGV_SETAUDIO_RIGHT or MCI_DGV_SETAUDIO_LEFT,integer(@s));
不起作用??????为什么?
我的
const
MCI_SETAUDIO= $873;
MCI_DGV_SETAUDIO_VALUE=$01000000;
MCI_DGV_SETAUDIO_ITEM=$00800000;
MCI_DGV_SETAUDIO_VOLUME=$4002;
MAX_VOLUME=65535;
MIN_VOLUME=0;
volume_value:=MAX_VOLUME;
s.dwValue:=volume_value;
s.dwItem:=MCI_DGV_SETAUDIO_VOLUME;
mciSendCommand(MediaPlayer1.DeviceID,MCI_SETAUDIO,
MCI_DGV_SETAUDIO_RIGHT or MCI_DGV_SETAUDIO_LEFT,integer(@s));
不起作用??????为什么?