Attempt at external links

This commit is contained in:
Lars Immisch
2017-03-30 22:28:23 +02:00
parent 594dec9313
commit b9ee08bb17
3 changed files with 14 additions and 10 deletions

View File

@@ -262,10 +262,12 @@ PCM objects have the following methods:
.. method:: PCM.polldescriptors()
Returns a tuple of (file descriptor, eventmask) that can be used to
Returns a tuple of *(file descriptor, eventmask)* that can be used to
wait for changes on the mixer with *select.poll*.
The *eventmask* value is compatible with *poll.register*.
The *eventmask* value is compatible with `poll.register`__
__ http://https://docs.python.org/library/select.html#poll-objects
**A few hints on using PCM devices for playback**
@@ -484,10 +486,12 @@ Mixer objects have the following methods:
.. method:: Mixer.polldescriptors()
Returns a tuple of (file descriptor, eventmask) that can be used to
Returns a tuple of *(file descriptor, eventmask)* that can be used to
wait for changes on the mixer with *select.poll*.
The *eventmask* value is compatible with *poll.register*.
The *eventmask* value is compatible with `poll.register`__
__ http://https://docs.python.org/library/select.html#poll-objects
.. method:: Mixer.handleevents()

View File

@@ -337,9 +337,9 @@ Otherwise, playback/capture is resumed.</p>
<dl class="method">
<dt id="alsaaudio.PCM.polldescriptors">
<tt class="descclassname">PCM.</tt><tt class="descname">polldescriptors</tt><big>(</big><big>)</big><a class="headerlink" href="#alsaaudio.PCM.polldescriptors" title="Permalink to this definition"></a></dt>
<dd><p>Returns a tuple of (file descriptor, eventmask) that can be used to
<dd><p>Returns a tuple of <em>(file descriptor, eventmask)</em> that can be used to
wait for changes on the mixer with <em>select.poll</em>.</p>
<p>The <em>eventmask</em> value is compatible with <em>poll.register</em>.</p>
<p>The <em>eventmask</em> value is compatible with <a class="reference external" href="http://https://docs.python.org/library/select.html#poll-objects">poll.register</a></p>
</dd></dl>
<p><strong>A few hints on using PCM devices for playback</strong></p>
@@ -365,7 +365,7 @@ accumulate to quite a lot after a few seconds. Hint: use time.time()
to check how much time has really passed, and add extra writes as nessecary.</p>
</div>
<div class="section" id="mixer-objects">
<span id="id2"></span><h2>Mixer Objects<a class="headerlink" href="#mixer-objects" title="Permalink to this headline"></a></h2>
<span id="id3"></span><h2>Mixer Objects<a class="headerlink" href="#mixer-objects" title="Permalink to this headline"></a></h2>
<p>Mixer objects provides access to the ALSA mixer API.</p>
<dl class="class">
<dt id="alsaaudio.Mixer">
@@ -593,9 +593,9 @@ changed. The default is to set the capture flag for all channels.</p>
<dl class="method">
<dt id="alsaaudio.Mixer.polldescriptors">
<tt class="descclassname">Mixer.</tt><tt class="descname">polldescriptors</tt><big>(</big><big>)</big><a class="headerlink" href="#alsaaudio.Mixer.polldescriptors" title="Permalink to this definition"></a></dt>
<dd><p>Returns a tuple of (file descriptor, eventmask) that can be used to
<dd><p>Returns a tuple of <em>(file descriptor, eventmask)</em> that can be used to
wait for changes on the mixer with <em>select.poll</em>.</p>
<p>The <em>eventmask</em> value is compatible with <em>poll.register</em>.</p>
<p>The <em>eventmask</em> value is compatible with <a class="reference external" href="http://https://docs.python.org/library/select.html#poll-objects">poll.register</a></p>
</dd></dl>
<dl class="method">

File diff suppressed because one or more lines are too long