<html> <head> <title>Camstream: CamStream API documentation</title> <link rel="stylesheet" href="../../tech.css" type="text/css"> </head> <body> <!-- Generated by Doxygen 1.2.6 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> <hr><h1>CVideoAudioInput Class Reference</h1><code>#include <<a class="el" href="videoaudioinput_h-source.html">VideoAudioInput.h</a>></code> <p> <p>Inheritance diagram for CVideoAudioInput:: <p><center><img src="class_cvideoaudioinput.gif" usemap="#CVideoAudioInput_map" border="0"></center> <map name="CVideoAudioInput_map"> <area href="class_qobject.html" alt="QObject" shape="rect" coords="0,0,114,24"> </map> <a href="class_cvideoaudioinput-members.html">List of all members.</a><h2>Public Types</h2> <ul> <li>enum { <a class="el" href="class_cvideoaudioinput.html#s4s0">Mono</a>, <a class="el" href="class_cvideoaudioinput.html#s4s1">Stereo</a>, <a class="el" href="class_cvideoaudioinput.html#s4s2">Language1</a>, <a class="el" href="class_cvideoaudioinput.html#s4s3">Language2</a> } </ul> <h2>Public Methods</h2> <ul> <li><a class="el" href="class_cvideoaudioinput.html#a0">CVideoAudioInput</a> (<a class="el" href="class_cvideodevice.html">CVideoDevice</a> *video, int channel) <li>int <a class="el" href="class_cvideoaudioinput.html#a1">GetNumber</a> () const <li>QString <a class="el" href="class_cvideoaudioinput.html#a2">GetName</a> () const <li>bool <a class="el" href="class_cvideoaudioinput.html#a3">IsMutable</a> () <li>bool <a class="el" href="class_cvideoaudioinput.html#a4">IsMuted</a> () <li>int <a class="el" href="class_cvideoaudioinput.html#a5">GetVolume</a> () const <li>int <a class="el" href="class_cvideoaudioinput.html#a6">GetBass</a> () const <li>int <a class="el" href="class_cvideoaudioinput.html#a7">GetTreble</a> () const </ul> <h2>Public Attributes</h2> <ul> <li>enum CVideoAudioInput:: { ... } <a class="el" href="class_cvideoaudioinput.html#m0">Modes</a> </ul> <h2>Public Slots</h2> <ul> <li>void <a class="el" href="class_cvideoaudioinput.html#g0">Mute</a> (bool mute_on) <li>void <a class="el" href="class_cvideoaudioinput.html#g1">SetVolume</a> (int volume) <li>void <a class="el" href="class_cvideoaudioinput.html#g2">SetBass</a> (int bass) <li>void <a class="el" href="class_cvideoaudioinput.html#g3">SetTreble</a> (int treble) </ul> <hr><h2>Member Enumeration Documentation</h2> <a name="s4" doxytag="CVideoAudioInput::@6"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> anonymous enum </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <dl compact><dt> <b>Enumeration values:</b><dd> <table border=0 cellspacing=2 cellpadding=0> <tr><td valign=top><a name="s4s0" doxytag="Mono"></a><em>Mono</em> </td><td> </td></tr> <tr><td valign=top><a name="s4s1" doxytag="Stereo"></a><em>Stereo</em> </td><td> </td></tr> <tr><td valign=top><a name="s4s2" doxytag="Language1"></a><em>Language1</em> </td><td> </td></tr> <tr><td valign=top><a name="s4s3" doxytag="Language2"></a><em>Language2</em> </td><td> </td></tr> </table> </dl> </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="CVideoAudioInput::CVideoAudioInput"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> CVideoAudioInput::CVideoAudioInput ( </b></td> <td valign="bottom"><b> <a class="el" href="class_cvideodevice.html">CVideoDevice</a> * <em>video</em>, </b></td> </tr> <tr> <td></td> <td><b> int <em>channel</em> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Audio inputs of a video device. <p> <p> This class describes an audio input on the card... Hopefully there are as many audio input as video inputs (and listed in the same order, but well, you never know :)) </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a6" doxytag="CVideoAudioInput::GetBass"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int CVideoAudioInput::GetBass ( </b></td> <td valign="bottom"><b> ) const </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a2" doxytag="CVideoAudioInput::GetName"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> QString CVideoAudioInput::GetName ( </b></td> <td valign="bottom"><b> ) const </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a1" doxytag="CVideoAudioInput::GetNumber"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int CVideoAudioInput::GetNumber ( </b></td> <td valign="bottom"><b> ) const </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a7" doxytag="CVideoAudioInput::GetTreble"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int CVideoAudioInput::GetTreble ( </b></td> <td valign="bottom"><b> ) const </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a5" doxytag="CVideoAudioInput::GetVolume"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int CVideoAudioInput::GetVolume ( </b></td> <td valign="bottom"><b> ) const </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Return volume setting (if supported). <p> <dl compact><dt> <b>Returns: </b><dd> An integer in the range 0..65535, or -1 if not supported or on error </dl> </td> </tr> </table> <a name="a3" doxytag="CVideoAudioInput::IsMutable"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool CVideoAudioInput::IsMutable ( </b></td> <td valign="bottom"><b> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns true if this audio input can be muted </td> </tr> </table> <a name="a4" doxytag="CVideoAudioInput::IsMuted"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> bool CVideoAudioInput::IsMuted ( </b></td> <td valign="bottom"><b> ) </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="g0" doxytag="CVideoAudioInput::Mute"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void CVideoAudioInput::Mute ( </b></td> <td valign="bottom"><b> bool <em>mute_on</em> )<code> [slot]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="g2" doxytag="CVideoAudioInput::SetBass"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void CVideoAudioInput::SetBass ( </b></td> <td valign="bottom"><b> int <em>bass</em> )<code> [slot]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="g3" doxytag="CVideoAudioInput::SetTreble"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void CVideoAudioInput::SetTreble ( </b></td> <td valign="bottom"><b> int <em>treble</em> )<code> [slot]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="g1" doxytag="CVideoAudioInput::SetVolume"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> void CVideoAudioInput::SetVolume ( </b></td> <td valign="bottom"><b> int <em>volume</em> )<code> [slot]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a name="m0" doxytag="CVideoAudioInput::Modes"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> enum { ... } CVideoAudioInput::Modes </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="videoaudioinput_h-source.html">VideoAudioInput.h</a><li><a class="el" href="videoaudioinput_cc.html">VideoAudioInput.cc</a></ul> <hr><address><small>Generated at Sat May 18 02:56:56 2002 for Camstream by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.6 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2001</small></address> </body> </html>