Grabber::setInputChannel Method |
||||||||||||||||||||
Sets the input channel of the currently active video capture device. | ||||||||||||||||||||
Syntax: | bool setInputChannel( const tInputChannelItem& inChnItem ); bool setInputChannel( DWORD channel ); bool setInputChannel( const std::string& inputchannel ); bool setInputChannel( const std::wstring& inputchannel ); |
|||||||||||||||||||
|
||||||||||||||||||||
Return value: | true, if the channel could be changed successfully, false otherwise. |
|||||||||||||||||||
Remarks: | Not all devices provide channels. In order to determine whether the selection of an input channel is supported by the current device you can use Grabber::hasInputChannels. |
|||||||||||||||||||
See also: | Grabber, Grabber::isInputChannelAvailableWithCurDev, Grabber::hasInputChannels, Grabber::getAvailableInputChannels, Grabber::getInputChannel |