diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2019-10-22 15:53:42 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2019-10-22 15:53:42 +0200 |
| commit | aea4714aacb774f0ab0e1bd0943a8cbcd8a87de0 (patch) | |
| tree | aba6b211022f3f3d1c43afd6f48aadaac1b9b4e7 | |
| parent | 2e11b9e4a70f7aedd2f3f295b0d99433e360f00e (diff) | |
DOC: Update module docstring after splitting API docs
See #207.
| -rw-r--r-- | doc/api/index.rst | 1 | ||||
| -rw-r--r-- | doc/api/misc.rst | 8 | ||||
| -rw-r--r-- | sounddevice.py | 14 |
3 files changed, 12 insertions, 11 deletions
diff --git a/doc/api/index.rst b/doc/api/index.rst index 6ca5c53..1f987d5 100644 --- a/doc/api/index.rst +++ b/doc/api/index.rst @@ -3,6 +3,7 @@ API Documentation .. automodule:: sounddevice +---- .. toctree:: diff --git a/doc/api/misc.rst b/doc/api/misc.rst index cfdaa28..532bb41 100644 --- a/doc/api/misc.rst +++ b/doc/api/misc.rst @@ -3,6 +3,10 @@ Miscellaneous .. currentmodule:: sounddevice +.. autofunction:: sleep + +.. autofunction:: get_portaudio_version + .. autoclass:: CallbackFlags :members: @@ -11,7 +15,3 @@ Miscellaneous .. autoclass:: CallbackAbort .. autoclass:: PortAudioError - -.. autofunction:: sleep - -.. autofunction:: get_portaudio_version diff --git a/sounddevice.py b/sounddevice.py index 0e8515c..c0e0257 100644 --- a/sounddevice.py +++ b/sounddevice.py @@ -25,25 +25,25 @@ API overview: `play()`, `rec()`, `playrec()` and the related functions `wait()`, `stop()`, `get_status()`, `get_stream()` + * Functions to get information about the available hardware: + `query_devices()`, `query_hostapis()`, + `check_input_settings()`, `check_output_settings()` + * Module-wide default settings: `default` + * Platform-specific settings: + `AsioSettings`, `CoreAudioSettings`, `WasapiSettings` + * PortAudio streams, using NumPy arrays: `Stream`, `InputStream`, `OutputStream` * PortAudio streams, using Python buffer objects (NumPy not needed): `RawStream`, `RawInputStream`, `RawOutputStream` - * Functions to get information about the available hardware: - `query_devices()`, `query_hostapis()`, - `check_input_settings()`, `check_output_settings()` - * Miscellaneous functions and classes: `sleep()`, `get_portaudio_version()`, `CallbackFlags`, `CallbackStop`, `CallbackAbort` - * Platform-specific settings: - `AsioSettings`, `CoreAudioSettings`, `WasapiSettings` - Online documentation: https://python-sounddevice.readthedocs.io/ |
