Camstream: CamStream API documentation

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

# VideoAudioInput.h

Go to the documentation of this file.

    00001 #ifndef VIDEOAUDIOINPUT_HPP
    00002 #define VIDEOAUDIOINPUT_HPP
    00003
    00004 #ifdef HAVE_CONFIG_H
    00005 #include <config.h>
    00006 #endif
    00007
    00008 #include <qobject.h>
    00009 #include <qvector.h>
    00010
    00011 class CVideoDevice;
    00012
    00013 class CVideoAudioInput: public QObject
    00014 {
    00015    Q_OBJECT
    00016 private:
    00017    CVideoDevice *pVideo;
    00018    int Channel;
    00019
    00020    int Flags;
    00021    QString Name;
    00022
    00023 public:
    00024    enum {
    00025      Mono,
    00026      Stereo,
    00027      Language1,
    00028      Language2,
    00029    } Modes;
    00030
    00031    CVideoAudioInput(CVideoDevice *video, int channel);
    00032
    00033    int GetNumber() const;
    00034    QString GetName() const;
    00035
    00036    bool IsMutable();
    00037    bool IsMuted();
    00038    int GetVolume() const;
    00039    int GetBass() const;
    00040    int GetTreble() const;
    00041
    00042 public slots:
    00043    void Mute(bool mute_on);
    00044    void SetVolume(int volume);
    00045    void SetBass(int bass);
    00046    void SetTreble(int treble);
    00047 };
    00048
    00049
    00050 #endif