Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CVideoDeviceTuner Class Reference

Tuner on V4L device. More...

#include <VideoDeviceTuner.h>

Inheritance diagram for CVideoDeviceTuner::

QObject List of all members.

Public Methods


Detailed Description

Tuner on V4L device.

This class sets the frequency on the TV or radio tuner on a TV/radio card. The frequency is represented as a float number in Hz.


Constructor & Destructor Documentation

CVideoDeviceTuner::CVideoDeviceTuner ( CVideoDevice * _video,
int _tuner )
 

Constructor.

Parameters:
_video   Master VideoDevice object
_tuner   Tuner number (should rarely be > 0)


Member Function Documentation

float CVideoDeviceTuner::GetFrequency ( ) const
 

Return frequency of tuner, in Hz.

Returns:
-1.0 in case of failure

float CVideoDeviceTuner::GetHighestFrequency ( ) const
 

float CVideoDeviceTuner::GetLowestFrequency ( ) const
 

const QString CVideoDeviceTuner::GetName ( )
 

bool CVideoDeviceTuner::SetFrequency ( float freq )
 

Set frequency.

Parameters:
freq   Desired frequency, in Hz
Returns:
FALSE if device refused the frequency or was not able to, TRUE with success


The documentation for this class was generated from the following files:
Generated at Wed Jun 20 02:51:26 2001 for Camstream by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001