]> git.sesse.net Git - nageru/blobdiff - theme.lua
Fix an issue where an ALSA card that was dead on boot could not be plugged in.
[nageru] / theme.lua
index 77a1ff15cde855daf459367af3be3adc764d77d4..0f3ce72ad9ed050ab0b8fddccf1364367bb82afb 100644 (file)
--- a/theme.lua
+++ b/theme.lua
@@ -323,9 +323,11 @@ end
 
 -- API ENTRY POINT
 -- Returns, given a channel number, which signal it corresponds to (starting from 0).
--- Should return -1 if the channel does not correspond to a simple signal.
--- (The information is used for whether right-click on the channel should bring up
--- an input selector or not.)
+-- Should return -1 if the channel does not correspond to a simple signal
+-- (one connected to a capture card, or a video input). The information is used for
+-- whether right-click on the channel should bring up a context menu or not,
+-- typically containing an input selector, resolution menu etc.
+--
 -- Called once for each channel, at the start of the program.
 -- Will never be called for live (0) or preview (1).
 function channel_signal(channel)