try use 
waveOutGetVolume 
waveOutSetVolume

解决方案 »

  1.   

    波形设备命令字符串
    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