Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 28b9e36e96ce34b2567ae5b47a27b2c5 > files > 526

python-qt4-doc-4.10.3-3.mga4.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>QAudio Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QAudio Class Reference<br /><sup><sup>[<a href="qtmultimedia.html">QtMultimedia</a> module]</sup></sup></h1><p>The QAudio namespace contains enums used by the audio classes.
<a href="#details">More...</a></p>

<h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qaudio.html#Error-enum">Error</a></b> { NoError, OpenError, IOError, UnderrunError, FatalError }</li><li><div class="fn" />enum <b><a href="qaudio.html#Mode-enum">Mode</a></b> { AudioInput, AudioOutput }</li><li><div class="fn" />enum <b><a href="qaudio.html#State-enum">State</a></b> { ActiveState, SuspendedState, StoppedState, IdleState }</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QAudio namespace contains enums used by the audio
classes.</p>
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="Error-enum" />QAudio.Error</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.NoError</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">No errors have occurred</td>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.OpenError</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">An error opening the audio device</td>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.IOError</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">An error occurred during read/write of audio
device</td>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.UnderrunError</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">Audio data is not being fed to the audio
device at a fast enough rate</td>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.FatalError</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">A non-recoverable error has occurred, the
audio device is not usable at this time.</td>
</tr>
</table>


<h3 class="fn"><a name="Mode-enum" />QAudio.Mode</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.AudioOutput</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">audio output device</td>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.AudioInput</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">audio input device</td>
</tr>
</table>


<h3 class="fn"><a name="State-enum" />QAudio.State</h3><table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.ActiveState</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">Audio data is being processed, this state is
set after start() is called and while audio data is available to be
processed.</td>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.SuspendedState</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The audio device is in a suspended state, this
state will only be entered after suspend() is called.</td>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.StoppedState</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">The audio device is closed, not processing any
audio data</td>
</tr>
<tr>
<td class="topAlign"><tt>QAudio.IdleState</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">The <a href="qiodevice.html">QIODevice</a>
passed in has no data and audio system's buffer is empty, this
state is set after start() is called and while no audio data is
available to be processed.</td>
</tr>
</table>
<address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.10.3 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2012</td><td align="right" width="25%">Qt&#160;4.8.5</td></tr></table></div></address></body></html>