不好意思,我只知道status指令的格式是: status device_name argument [notify] [wait],如果设备名字取为sound,则将MCI音频指令status sound level作为mciSendString()函数的第一个参数应该就可以了吧?呵呵,才疏学浅,别笑我!
hehe, i don't know too, FYI波形设备命令字符串 capability waveaudio<arg> ......can eject,can play,can record,can save,compounddevice,device type,has audio,has video,inputs,outputs,uses files close waveaudio cue waveaudio<arg>.......input,output delete waveaudio<arg>....from position,to position info waveaudio <arg>......input,file,output,product open waveaudio<arg>.......alias name,buffer size,shareable pause waveaudio play waveaudio<arg>.......from position,to position,fast,repeat,reverse,slow record waveaudio<arg>.....insert,from position,to position,overwrite resume waveaudio save waveaudio<arg>.......[filename] seek waveaudio<arg> .......to position,to start,to end set waveaudio<arg>.........any input,any output,audio all off,audio all on,audio left on/off,audio right on/off channels number status waveaudio<arg>......channels,current track,format tag,input,length length track number,number of tracks ,output,position,position track number stop waveaudioThe End
status device_name argument [notify] [wait],如果设备名字取为sound,则将MCI音频指令status sound level作为mciSendString()函数的第一个参数应该就可以了吧?呵呵,才疏学浅,别笑我!
capability waveaudio<arg> ......can eject,can play,can record,can save,compounddevice,device type,has audio,has video,inputs,outputs,uses files
close waveaudio
cue waveaudio<arg>.......input,output
delete waveaudio<arg>....from position,to position
info waveaudio <arg>......input,file,output,product
open waveaudio<arg>.......alias name,buffer size,shareable
pause waveaudio
play waveaudio<arg>.......from position,to position,fast,repeat,reverse,slow
record waveaudio<arg>.....insert,from position,to position,overwrite
resume waveaudio
save waveaudio<arg>.......[filename]
seek waveaudio<arg> .......to position,to start,to end
set waveaudio<arg>.........any input,any output,audio all off,audio all on,audio left on/off,audio right on/off
channels number
status waveaudio<arg>......channels,current track,format tag,input,length
length track number,number of tracks ,output,position,position track number
stop waveaudioThe End
我现在连mcisendstring()中使用Status指令都没有成功过
大家帮忙啊,急,甚急!!!
注:不是尿急。