Документация по Gambas 2
Development Environment Documentation
Documents
Language Index
Language Overviews
Lexicon
Компиляция & Установка
Последние изменения
ПРОЧТИ
Регистрация
Что переводить
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
New VideoDevice (gb.v4l)
Dim
hVideoDevice
As
VideoDevice
hVideoDevice
=
New
VideoDevice
(
Device
As
String
[
,
Mode
As
Integer
]
)
Create a new
VideoDevice
object.
Device
is the Linux device name.
Mode
is the API mode.
Mode
can be one of the following value :
VideoDevice.Any
: use the best API (The default).
VideoDevice.V4L
: use the deprecated V4L1 API.
VideoDevice.V4L2
: use the V4L2 API.