FileDocCategorySizeDatePackage
VChannel.javaAPI DocJMF 2.1.1e1258Mon May 12 12:21:30 BST 2003com.sun.media.protocol.v4l

VChannel

public class VChannel extends Object
Class that mirrors the video_channel structure of Video4Linux.

Fields Summary
public int
channel
The channel number.
public String
name
The name for the channel.
public int
tuners
The number of tuners.
public int
flags
Flags can be VIDEO_VC_*
public int
type
Type can be VIDEO_TYPE_*
public int
norm
PAL/NTSC/SECAM
public static final int
VIDEO_VC_TUNER
public static final int
VIDEO_VC_AUDIO
public static final int
VIDEO_TYPE_TV
public static final int
VIDEO_TYPE_CAMERA
public static final int
VIDEO_NORM_PAL
public static final int
VIDEO_NORM_NTSC
Constructors Summary
public VChannel(int channel)

    
       
	this.channel = channel;
    
Methods Summary
public booleanhasAudio()

	return (flags & VIDEO_VC_AUDIO) > 0;
    
public booleanhasTuner()

	return (flags & VIDEO_VC_TUNER) > 0;
    
public booleanisCameraInput()

	return type == VIDEO_TYPE_CAMERA;
    
public booleanisTVInput()

	return type == VIDEO_TYPE_TV;