diff options
| -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/ |
