|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.luniks.linux.jv4linfo.V4L2Tuner
Class to hold information about a tuner of a v4l2 input.
Almost all fields and comments are taken from videodev2.h
or the Video for Linux Two API Specification
Nested Class Summary | |
static class |
V4L2Tuner.Audmode
|
Field Summary | |
private int |
afc
|
private int |
audmode
|
private int |
capability
|
private int |
index
|
private java.lang.String |
name
|
private int |
rangehigh
|
private int |
rangelow
|
private int[] |
reserved
|
private int |
rxsubchans
|
private int |
signal
|
private int |
type
|
static int |
V4L2_TUNER_ANALOG_TV
|
static int |
V4L2_TUNER_CAP_LANG1
|
static int |
V4L2_TUNER_CAP_LANG2
|
static int |
V4L2_TUNER_CAP_LOW
|
static int |
V4L2_TUNER_CAP_NORM
|
static int |
V4L2_TUNER_CAP_SAP
|
static int |
V4L2_TUNER_CAP_STEREO
|
static int |
V4L2_TUNER_MODE_LANG1
|
static int |
V4L2_TUNER_MODE_LANG2
|
static int |
V4L2_TUNER_MODE_MONO
|
static int |
V4L2_TUNER_MODE_SAP
|
static int |
V4L2_TUNER_MODE_STEREO
|
static int |
V4L2_TUNER_RADIO
|
static int |
V4L2_TUNER_SUB_LANG1
|
static int |
V4L2_TUNER_SUB_LANG2
|
static int |
V4L2_TUNER_SUB_MONO
|
static int |
V4L2_TUNER_SUB_SAP
|
static int |
V4L2_TUNER_SUB_STEREO
|
Constructor Summary | |
V4L2Tuner()
|
Method Summary | |
int |
getAfc()
Automatic frequency control |
int |
getAudmode()
The selected audio mode |
V4L2Tuner.Audmode[] |
getAudmodes()
Returns the audio modes supported by the tuner |
int |
getCapability()
The tuner's capabilities |
int |
getIndex()
The index of the tuner |
java.lang.String |
getName()
The name of the tuner |
int |
getRangehigh()
The highest tunable frequency in units of 62.5 KHz, or if isCapLow() returns true, in units of 62.5 Hz. |
int |
getRangelow()
The lowest tunable frequency in units of 62.5 KHz, or if isCapLow() returns true, in units of 62.5 Hz. |
int[] |
getReserved()
Currently not used, returns null |
int |
getRxsubchans()
The audio subprograms the hardware may currently receive |
int |
getSignal()
The signal strength if known |
int |
getType()
The type of the tuner |
boolean |
isAnalogTV()
Returns true, if the tuner is an analog TV |
boolean |
isCapLow()
Returns true, if the frequency is in units of 62.5 Hz, and false, if it is in units of 62.5 kHz. |
boolean |
isMultistandard()
Is a multi-standard tuner |
boolean |
isRadio()
Returns true, if the tuner is a radio |
void |
setAudmode(int audmode)
Sets the audiomode, currently the only field that can be set |
void |
setIndex(int index)
Sets the index of the tuner that should be queried/set |
boolean |
supportsLang1()
Returns true, if reception of a primary language (of two) is supported |
boolean |
supportsLang2()
Returns true, if reception of a secondary language is supported |
boolean |
supportsSAP()
Returns true, if reception of the Secondary Audio Program is supported |
boolean |
supportsStereo()
Returns true, if stereo audio reception is supported |
java.lang.String |
toString()
String representation of the tuner info |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int V4L2_TUNER_CAP_LOW
public static final int V4L2_TUNER_CAP_NORM
public static final int V4L2_TUNER_CAP_STEREO
public static final int V4L2_TUNER_CAP_LANG2
public static final int V4L2_TUNER_CAP_SAP
public static final int V4L2_TUNER_CAP_LANG1
public static final int V4L2_TUNER_SUB_MONO
public static final int V4L2_TUNER_SUB_STEREO
public static final int V4L2_TUNER_SUB_LANG2
public static final int V4L2_TUNER_SUB_SAP
public static final int V4L2_TUNER_SUB_LANG1
public static final int V4L2_TUNER_MODE_MONO
public static final int V4L2_TUNER_MODE_STEREO
public static final int V4L2_TUNER_MODE_LANG2
public static final int V4L2_TUNER_MODE_SAP
public static final int V4L2_TUNER_MODE_LANG1
public static final int V4L2_TUNER_RADIO
public static final int V4L2_TUNER_ANALOG_TV
private int index
private java.lang.String name
private int type
private int capability
private int rangelow
private int rangehigh
private int rxsubchans
private int audmode
private int signal
private int afc
private int[] reserved
Constructor Detail |
public V4L2Tuner()
Method Detail |
public int getIndex()
public java.lang.String getName()
public int getType()
public int getCapability()
public int getRangelow()
public int getRangehigh()
public int getRxsubchans()
public int getAudmode()
public int getSignal()
public int getAfc()
public int[] getReserved()
public boolean isRadio()
public boolean isAnalogTV()
public boolean isCapLow()
public boolean isMultistandard()
public boolean supportsStereo()
public boolean supportsLang1()
public boolean supportsLang2()
public boolean supportsSAP()
public void setIndex(int index)
public void setAudmode(int audmode)
public V4L2Tuner.Audmode[] getAudmodes()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |