Portability | no |
---|---|
Stability | no |
Maintainer | claude@mathr.co.uk |
Safe Haskell | None |
- data VideoInputID
- data VideoInputInfo = VideoInputInfo {
- videoInputName :: String
- videoInputType :: VideoInputType
- videoInputAudio :: Set AudioInputID
- videoInputTuner :: Set TunerID
- videoInputStandard :: VideoStandard
- videoInputStatus :: Set VideoInputStatus
- videoInputCapability :: Set VideoInputCapability
- data VideoInputType
- data VideoInputStatus
- data VideoInputCapability
- videoInputs :: Device -> IO (Map VideoInputID VideoInputInfo)
- getVideoInput :: Device -> IO VideoInputID
- setVideoInput :: Device -> VideoInputID -> IO ()
Documentation
data VideoInputID Source
Video input index.
data VideoInputInfo Source
Video input info.
VideoInputInfo | |
|
data VideoInputType Source
Video input type.
data VideoInputStatus Source
Video input status.
data VideoInputCapability Source
Video input capabilitites.
videoInputs :: Device -> IO (Map VideoInputID VideoInputInfo)Source
Enumerate video inputs.
getVideoInput :: Device -> IO VideoInputIDSource
Query the current video input.
Exceptions:
- InvalidArgument - this device has no video inputs
setVideoInput :: Device -> VideoInputID -> IO ()Source
Select the current video input.
Exceptions:
- InvalidArgument - no video input with this index
- ResourceBusy - the video input cannot be switched now