forked from auracaster/pyalsaaudio
read may return -EPIPE
This commit is contained in:
@@ -476,6 +476,12 @@ Mixer objects have the following methods:
|
||||
Returns a tuple of (file descriptor, eventmask) that can be used to
|
||||
wait for changes on the mixer with *select.poll*.
|
||||
|
||||
.. method:: Mixer.handleevents()
|
||||
|
||||
Acknowledge events on the *polldescriptors* file descriptors
|
||||
to prevent subsequent polls from returning the same events again.
|
||||
Returns the number of events that were acknowledged.
|
||||
|
||||
**A rant on the ALSA Mixer API**
|
||||
|
||||
The ALSA mixer API is extremely complicated - and hardly documented at all.
|
||||
|
||||
9406
_static/jquery.js
vendored
9406
_static/jquery.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -52,6 +52,7 @@
|
||||
<a href="#A"><strong>A</strong></a>
|
||||
| <a href="#C"><strong>C</strong></a>
|
||||
| <a href="#G"><strong>G</strong></a>
|
||||
| <a href="#H"><strong>H</strong></a>
|
||||
| <a href="#M"><strong>M</strong></a>
|
||||
| <a href="#P"><strong>P</strong></a>
|
||||
| <a href="#R"><strong>R</strong></a>
|
||||
@@ -120,6 +121,16 @@
|
||||
</dl></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="H">H</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%" valign="top"><dl>
|
||||
|
||||
<dt><a href="libalsaaudio.html#alsaaudio.Mixer.handleevents">handleevents() (alsaaudio.Mixer method)</a>
|
||||
</dt>
|
||||
|
||||
</dl></td>
|
||||
</tr></table>
|
||||
|
||||
<h2 id="M">M</h2>
|
||||
<table style="width: 100%" class="indextable genindextable"><tr>
|
||||
<td style="width: 33%" valign="top"><dl>
|
||||
@@ -286,8 +297,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">
|
||||
© Copyright 2008-2009, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on May 16, 2015.
|
||||
© Copyright 2008-20017, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on Feb 22, 2017.
|
||||
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -140,8 +140,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">
|
||||
© Copyright 2008-2009, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on May 16, 2015.
|
||||
© Copyright 2008-20017, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on Feb 22, 2017.
|
||||
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -586,6 +586,14 @@ changed. The default is to set the capture flag for all channels.</p>
|
||||
wait for changes on the mixer with <em>select.poll</em>.</p>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="method">
|
||||
<dt id="alsaaudio.Mixer.handleevents">
|
||||
<tt class="descclassname">Mixer.</tt><tt class="descname">handleevents</tt><big>(</big><big>)</big><a class="headerlink" href="#alsaaudio.Mixer.handleevents" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>Acknowledge events on the <em>polldescriptors</em> file descriptors
|
||||
to prevent subsequent polls from returning the same events again.
|
||||
Returns the number of events that were acknowledged.</p>
|
||||
</dd></dl>
|
||||
|
||||
<p><strong>A rant on the ALSA Mixer API</strong></p>
|
||||
<p>The ALSA mixer API is extremely complicated - and hardly documented at all.
|
||||
<a class="reference internal" href="#module-alsaaudio" title="alsaaudio (Linux)"><tt class="xref py py-mod docutils literal"><span class="pre">alsaaudio</span></tt></a> implements a much simplified way to access this API. In
|
||||
@@ -776,8 +784,8 @@ Channel 1 volume: 61%
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">
|
||||
© Copyright 2008-2009, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on May 16, 2015.
|
||||
© Copyright 2008-20017, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on Feb 22, 2017.
|
||||
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
|
||||
</div>
|
||||
</body>
|
||||
|
||||
BIN
objects.inv
BIN
objects.inv
Binary file not shown.
@@ -105,8 +105,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">
|
||||
© Copyright 2008-2009, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on May 16, 2015.
|
||||
© Copyright 2008-20017, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on Feb 22, 2017.
|
||||
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -214,8 +214,8 @@ with <tt class="docutils literal"><span class="pre">Ctl-C</span></tt>.</p>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">
|
||||
© Copyright 2008-2009, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on May 16, 2015.
|
||||
© Copyright 2008-20017, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on Feb 22, 2017.
|
||||
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -98,8 +98,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">
|
||||
© Copyright 2008-2009, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on May 16, 2015.
|
||||
© Copyright 2008-20017, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on Feb 22, 2017.
|
||||
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
|
||||
</div>
|
||||
</body>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -176,8 +176,8 @@ on.</p>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer">
|
||||
© Copyright 2008-2009, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on May 16, 2015.
|
||||
© Copyright 2008-20017, Casper Wilstrup, Lars Immisch.
|
||||
Last updated on Feb 22, 2017.
|
||||
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user