forked from auracaster/pyalsaaudio
de-duplicate PCM.info() documentation
... and move the dumpinfo() docu.
amends 4e098da - clearly, i'm blind.
This commit is contained in:
@@ -248,6 +248,12 @@ PCM objects have the following methods:
|
||||
as can be found in the
|
||||
`ALSA documentation <https://www.alsa-project.org/alsa-doc>`_.
|
||||
|
||||
*New in 0.9.1*
|
||||
|
||||
.. method:: PCM.dumpinfo()
|
||||
|
||||
Dumps the PCM object's configured parameters to stdout.
|
||||
|
||||
.. method:: PCM.pcmtype()
|
||||
|
||||
Returns the type of PCM object. Either :const:`PCM_CAPTURE` or
|
||||
@@ -306,20 +312,6 @@ PCM objects have the following methods:
|
||||
|
||||
.. deprecated:: 0.9 Use the `periodsize` named argument to :func:`PCM`.
|
||||
|
||||
.. method:: PCM.info()
|
||||
|
||||
Returns a dictionary with the PCM object's configured parameters.
|
||||
|
||||
Values are retrieved from the ALSA library if they are available;
|
||||
otherwise they represent those stored by pyalsaaudio, and their keys
|
||||
are prefixed with ' (call value) '.
|
||||
|
||||
*New in 0.9.1*
|
||||
|
||||
.. method:: PCM.dumpinfo()
|
||||
|
||||
Dumps the PCM object's configured parameters to stdout.
|
||||
|
||||
.. method:: PCM.state()
|
||||
|
||||
Returs the current state of the stream, which can be one of
|
||||
|
||||
Reference in New Issue
Block a user