diff --git a/_sources/libalsaaudio.txt b/_sources/libalsaaudio.txt index 791a623..381e9a0 100644 --- a/_sources/libalsaaudio.txt +++ b/_sources/libalsaaudio.txt @@ -259,6 +259,14 @@ PCM objects have the following methods: If *enable* is :const:`True`, playback or capture is paused. Otherwise, playback/capture is resumed. + +.. method:: PCM.polldescriptors() + + 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*. + **A few hints on using PCM devices for playback** The most common reason for problems with playback of PCM audio is that writes @@ -479,6 +487,8 @@ 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*. + The *eventmask* value is compatible with *poll.register*. + .. method:: Mixer.handleevents() Acknowledge events on the *polldescriptors* file descriptors diff --git a/genindex.html b/genindex.html index e3692d8..1dda099 100644 --- a/genindex.html +++ b/genindex.html @@ -184,6 +184,12 @@