public class Tuner extends Object
getAFC() returns a value of 0.Tuners are not
directly instantiated. Instead, to retrieve the Tuner
associated with a frame grabber, call FrameGrabber.getTuner()
on the associated FrameGrabber object. Alternatively, you can also
obtain a list of Tuner objects by calling
VideoDevice.getTunerList().
Methods in this class must not be called once the associated video device has
been released. Otherwise, a StateException will be thrown.| Modifier and Type | Method and Description |
|---|---|
int |
getAFC()
This method returns the current AFC (Automatic Frequency Control) value.
|
double |
getFrequency()
This method returns the current frequency of this tuner.
|
int |
getIndex()
This method returns the index of this tuner.
|
TunerInfo |
getInfo()
This method returns the
TunerInfo object associated with this
tuner. |
int |
getRSSI()
This method returns the current received signal strength.
|
void |
setFrequency(double f)
This method sets the frequency of this tuner.
|
public double getFrequency()
StateException - if the associated frame grabber has been released
and this tuner must not be used anymore.public void setFrequency(double f)
f - the new frequencyStateException - if the associated frame grabber has been released
and this tuner must not be used anymore.public int getAFC()
StateException - if the associated frame grabber has been released
and this tuner must not be used anymore.public int getRSSI()
StateException - if the associated frame grabber has been released
and this tuner must not be used anymore.public int getIndex()
StateException - if the associated frame grabber has been released
and this tuner must not be used anymore.public TunerInfo getInfo()
TunerInfo object associated with this
tuner.TunerInfo object associated with this tuner.StateException - if the associated frame grabber has been released
and this tuner must not be used anymore.Copyright © 2013-2015 Bartosz Firyn (sarxos). All Rights Reserved.