mirror of
https://github.com/larsimmisch/pyalsaaudio.git
synced 2026-05-14 19:38:01 +00:00
Formatting and fixed upload description.
This commit is contained in:
@@ -11,10 +11,14 @@ Create and push a tag naming the version (i.e. 0.9.0):
|
|||||||
git tag 0.9.0
|
git tag 0.9.0
|
||||||
git push origin 0.9.0
|
git push origin 0.9.0
|
||||||
|
|
||||||
Upload the package:
|
Create the package:
|
||||||
|
|
||||||
python3 setup.py sdist
|
python3 setup.py sdist
|
||||||
|
|
||||||
|
Upload the package
|
||||||
|
|
||||||
|
twine upload dist/*
|
||||||
|
|
||||||
Don't forget to update the documentation.
|
Don't forget to update the documentation.
|
||||||
|
|
||||||
# Publish the documentation
|
# Publish the documentation
|
||||||
|
|||||||
@@ -116,8 +116,7 @@ following arguments:
|
|||||||
(default).
|
(default).
|
||||||
* *mode* - can be either :const:`PCM_NONBLOCK`, or :const:`PCM_NORMAL`
|
* *mode* - can be either :const:`PCM_NONBLOCK`, or :const:`PCM_NORMAL`
|
||||||
(default).
|
(default).
|
||||||
* *rate* - the sampling rate in Hz. Typical values are ``8000``
|
* *rate* - the sampling rate in Hz. Typical values are ``8000`` (mainly used for telephony), ``16000``, ``44100`` (default), ``48000`` and ``96000``.
|
||||||
(mainly used for telephony), ``16000``, ``44100`` (default), ``48000`` and ``96000``.
|
|
||||||
* *channels* - the number of channels. The default value is 2 (stereo).
|
* *channels* - the number of channels. The default value is 2 (stereo).
|
||||||
* *format* - the data format. This controls how the PCM device interprets data for playback, and how data is encoded in captures.
|
* *format* - the data format. This controls how the PCM device interprets data for playback, and how data is encoded in captures.
|
||||||
The default value is :const:`PCM_FORMAT_S16_LE`.
|
The default value is :const:`PCM_FORMAT_S16_LE`.
|
||||||
|
|||||||
Reference in New Issue
Block a user