本程序提供下面类,用于实现Audio Mixer的完全功能:
CMixerFader: 派生于CSliderCtrl
CMixerSwitch:派生于CButton
CMixerNumber:派生于CSpinButtonCtrl
CMixerPeakMeter:派生于CStatic
首先,该程序提供对播放的控制,参见下图。
同时,还提供录音和语音录入的控制,参见下图。
最后,还提供设备的全部信息,参见下图:
下面列出各Mixer类实现的mixer控制类型:
Mixer Class | Mixer Control Type Implemented |
CMixerFader | MIXERCONTROL_CONTROLTYPE_FADER MIXERCONTROL_CONTROLTYPE_VOLUME MIXERCONTROL_CONTROLTYPE_BASS MIXERCONTROL_CONTROLTYPE_TREBLE MIXERCONTROL_CONTROLTYPE_EQUALIZER |
CMixerSwitch | Selectors MIXERCONTROL_CONTROLTYPE_SINGLESELECT MIXERCONTROL_CONTROLTYPE_MUX MIXERCONTROL_CONTROLTYPE_MULTIPLESELECT MIXERCONTROL_CONTROLTYPE_MIXER Switches MIXERCONTROL_CONTROLTYPE_BOOLEAN MIXERCONTROL_CONTROLTYPE_ONOFF MIXERCONTROL_CONTROLTYPE_MUTE MIXERCONTROL_CONTROLTYPE_MONO MIXERCONTROL_CONTROLTYPE_LOUDNESS MIXERCONTROL_CONTROLTYPE_STEREOENH |
CMixerNumber | MIXERCONTROL_CONTROLTYPE_UNSIGNED |
CMixerPeakMeter | MIXERCONTROL_CONTROLTYPE_PEAKMETER |
>>> DOWN !!! >>>下载源代码及演示程序