From d83e829de1e7d276e4f33877e83202b53dae1ca7 Mon Sep 17 00:00:00 2001 From: Lars Immisch Date: Mon, 13 Jul 2020 22:18:32 +0200 Subject: [PATCH] Formatting and fixed upload description. --- doc/README.md | 6 +++++- doc/libalsaaudio.rst | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/README.md b/doc/README.md index 1e7875d..7b1f1df 100644 --- a/doc/README.md +++ b/doc/README.md @@ -11,10 +11,14 @@ Create and push a tag naming the version (i.e. 0.9.0): git tag 0.9.0 git push origin 0.9.0 -Upload the package: +Create the package: python3 setup.py sdist +Upload the package + + twine upload dist/* + Don't forget to update the documentation. # Publish the documentation diff --git a/doc/libalsaaudio.rst b/doc/libalsaaudio.rst index 1e48dfe..518ac50 100644 --- a/doc/libalsaaudio.rst +++ b/doc/libalsaaudio.rst @@ -116,8 +116,7 @@ following arguments: (default). * *mode* - can be either :const:`PCM_NONBLOCK`, or :const:`PCM_NORMAL` (default). - * *rate* - the sampling rate in Hz. Typical values are ``8000`` - (mainly used for telephony), ``16000``, ``44100`` (default), ``48000`` and ``96000``. + * *rate* - the sampling rate in Hz. Typical values are ``8000`` (mainly used for telephony), ``16000``, ``44100`` (default), ``48000`` and ``96000``. * *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. The default value is :const:`PCM_FORMAT_S16_LE`.